Admonitions in dd
don't look right on Chrome (Android) w/ larger default font-sizes
#416
Replies: 5 comments
-
Fixed in 393c59b, as far as I can tell. I'll let @webknjaz confirm. :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I wish :( |
Beta Was this translation helpful? Give feedback.
0 replies
-
Looks like it's necessary to do something like - --admonition-title-font-size: 0.8125rem;
+ --admonition-title-font-size: 0.8125em; |
Beta Was this translation helpful? Give feedback.
0 replies
-
That leaves the admonition body at the wrong size though, right? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think so |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
The font sizing seems to be off.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The admonitions in the admonition demo have the correct font-size, that's not relative to the admonition's font size, instead of the page's font-size.
Device
Browser: Chrome on Android
Device: @webknjaz's phone. :P
It's a custom MIUI packaged by xiaomi.eu, looks like there's Android 10 underneath
Additional context
This seems to be due to Chrome on Android taking the 100% font-size to be relative to the "base" font size (i.e. the one set in
html
) instead of the one set in the parent element.Screenshots
Beta Was this translation helpful? Give feedback.
All reactions