Skip to content

fix(css/menu): use max-content as menu's width#581

Open
scholar7r wants to merge 2 commits intopanr:masterfrom
scholar7r:master
Open

fix(css/menu): use max-content as menu's width#581
scholar7r wants to merge 2 commits intopanr:masterfrom
scholar7r:master

Conversation

@scholar7r
Copy link
Copy Markdown

@scholar7r scholar7r commented Apr 7, 2026

Set the menu's width to max-content so it expands to fit its content
without wrapping.

Closes: #579

Duplicated: #580

Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/max-content

Set the menu's width to `max-content` so it expands to fit its content
without wrapping.

Closes: panr#579

Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/max-content
@scholar7r
Copy link
Copy Markdown
Author

Hi @panr, could you please review this PR when you have time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The width of the menu bar dropdown is incorrect.

1 participant