homer icon indicating copy to clipboard operation
homer copied to clipboard

Change height of Services line?

Open Sailing74 opened this issue 3 years ago • 3 comments

I've added a custom logo (not icon) in front of services, and it turns out that the logo is being shown too large to fit into the entire row.

Is there some way I can change either line height or icon height?

grafik

services:
  - name: "Server"
    # icon: "fas fa-cloud"
    logo: "assets/icons/logo.png"
    items:

Sailing74 avatar Feb 16 '22 09:02 Sailing74

You'll probably want to scale down your image slightly. The sizing set by homer is 48x48, you should adjust your image around those dimensions. It's the height you are likely hitting, as your image isn't a 1:1 ratio.

jamesmacwhite avatar Mar 05 '22 19:03 jamesmacwhite

Exactly as @jamesmacwhite said. I strongly recommend adjusting your icon size.

bastienwirtz avatar Jul 15 '22 21:07 bastienwirtz

I've resized the image down to 42x48. Still looks the same - cut off at the bottom.

Sailing74 avatar Jul 16 '22 11:07 Sailing74