Icon-Only Button Dimensions #4704
Unanswered
hinducows
asked this question in
Theme Designer
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wasn't sure if this belonged in this category, but it seemed related enough to me. I was curious why an explicit height is being set for rounded icon-only buttons, but not for default icon-only buttons.
Here you can see how the default button is just a tiny bit off at 35x33:
But the rounded buttons are perfectly symmetrical at 35x35:
...because an explicit height is being applied to the rounded buttons that is not also be applied to the square buttons for some reason. You can see here the button's width value,
--p-button-icon-only-width, being applied to the height so they're both always the same:Is it possible to apply this same height approach to the default/square icon-only buttons so they're symmetrical as well?
Beta Was this translation helpful? Give feedback.
All reactions