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

Menu: Change left/right padding to 12px #97033

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

svennergr
Copy link
Contributor

What is this feature?

I think the menu items' left padding is too large (16px):
image

So I changed it to theme.spacing(1.5) or 12px:
image

To be honest, I think 8px would also work, however it's a bit worse with groups:
image

@torkelo: added you because you changed it to 16px a while ago: https://github.com/grafana/grafana/pull/52686/files#diff-4971d5ff63a99a56d662b043f5df3d449788319daf12b657f3cc2b407d2afb58R166

@svennergr svennergr added area/frontend no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes labels Nov 26, 2024
@svennergr svennergr requested a review from a team as a code owner November 26, 2024 11:41
@svennergr svennergr requested review from tskarhed and JoaoSilvaGrafana and removed request for a team November 26, 2024 11:41
@github-actions github-actions bot added this to the 11.4.x milestone Nov 26, 2024
@torkelo
Copy link
Member

torkelo commented Nov 26, 2024

Can we add 2px border radius to the menu items so the focus state does not have square corners?

@svennergr
Copy link
Contributor Author

Can we add 2px border radius to the menu items so the focus state does not have square corners?

Done - this is also applied to hover state:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants