You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that Button uses pixels to define its dimensions (for height, padding, etc.). I'm wondering if this is intentional, almost all components use relative units (rem), which works fantastic when trying to make a layout more responsive on mobile devices, however, the Button is the one that stays the same size and looks weird on compared to the rest.
As a workaround I could change the size of the button on smaller screens, however, I'm curious if there's a specific reason or limitation behind this design choice and would appreciate any insights or suggestions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I noticed that
Button
uses pixels to define its dimensions (forheight
,padding
, etc.). I'm wondering if this is intentional, almost all components use relative units (rem
), which works fantastic when trying to make a layout more responsive on mobile devices, however, theButton
is the one that stays the same size and looks weird on compared to the rest.As a workaround I could change the size of the button on smaller screens, however, I'm curious if there's a specific reason or limitation behind this design choice and would appreciate any insights or suggestions.
Beta Was this translation helpful? Give feedback.
All reactions