hugo-liftoff icon indicating copy to clipboard operation
hugo-liftoff copied to clipboard

Align the dropdown menu with header

Open Y-T-G opened this issue 1 year ago • 2 comments

Hello.

Thanks for the theme. It's great.

I have an issue with the header. It displays like this:

image

The dropdown menu has a different width than the menu option which makes it look odd.

Can this be fixed?

Y-T-G avatar Aug 11 '23 16:08 Y-T-G

No prob. The dropdown grows based on the length of the widest menu item text, I believe. It's not always possible to keep longer menu items within the parent item's width, so I had to make the width dynamic.

What do you think of setting a minimum width to match the width of the parent menu item; then it can grow wider as needed?

wjh18 avatar Aug 11 '23 18:08 wjh18

@wjh18 That makes more sense, yes.

Y-T-G avatar Aug 12 '23 06:08 Y-T-G