Replies: 1 comment 1 reply
-
This may be easier once all system tokens are in for shape and spacing. Until then, you should be able to update everything except spacing to I think it's worth opening a discussion on |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I have a question regarding the use of px in some of the subcomponents. For example,
md-text-button
has abutton
component with agap
set to8px
. The result is that this gap looks a lot larger on 1080p screens than on 4k screens, even though we want both to look exactly the same (we scale our root font size with the monitor's resolution).I found here that
<md-*>
components within other<md-*>
components can be easily styled using the::part()
CSS pseudo-element. However, thebutton
component inmd-text-button
does no have apart
attribute.Is there any easy way to ensure the
px
defined attributes scale withrem
? I haven't found anyone else with this issue on this repo yet, so I feel like I am missing something.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions