Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align the dropdown menu with header #32

Open
Y-T-G opened this issue Aug 11, 2023 · 2 comments
Open

Align the dropdown menu with header #32

Y-T-G opened this issue Aug 11, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Y-T-G
Copy link

Y-T-G commented Aug 11, 2023

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?

@wjh18
Copy link
Owner

wjh18 commented Aug 11, 2023

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?

@Y-T-G
Copy link
Author

Y-T-G commented Aug 12, 2023

@wjh18 That makes more sense, yes.

@wjh18 wjh18 added the bug Something isn't working label Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants