-
Notifications
You must be signed in to change notification settings - Fork 58
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
Use unitless line-height #847
Comments
I would tend to agree that line height should be unitless. We've used the |
Would it be easier to leave |
That could work. Or maybe |
A parallel conversation cropped up yesterday with Design -- there is a desire to move We should engage with them to determine all of the needs. |
Assigning to Tim. @tim-white-esri please feel free to reassign to your team members that have additional bandwidth. |
* fix pre and post on large screen size * fix edge case where imports file still generates css * prevent calcite web from being imported twice * #806 - fix pre for nested first child on largest screen size * add test case for nested column with pre- to grid example * #889 - font size 17px => 16px⚠️ * #847 - use unitless line-height * tweak button padding so they remain more stable after font-size switch * #901 - change theme toggle markup in hopes of bug fixing * remove extra pre-/post- classes
* fix pre and post on large screen size * fix edge case where imports file still generates css * prevent calcite web from being imported twice * #806 - fix pre for nested first child on largest screen size * add test case for nested column with pre- to grid example * #889 - font size 17px => 16px⚠️ * #847 - use unitless line-height * tweak button padding so they remain more stable after font-size switch * #901 - change theme toggle markup in hopes of bug fixing * remove extra pre-/post- classes * icon classes should have vertical-align:middle * tweak size/padding on code and label elements * simplify quick reference
all of these have been converted, will be part of next release |
Currently line-height is being set to
$baseline
which starts out as1.55rem
. The result is that the calculated value is24.8px
(16px * 1.55rem). In some cases, font sizes are changed above that 24.8px size, resulting in text that overlaps when lines wrap.Line-height should always be unitless. Suggest changing
$baseline
to 1.55 (or more appropriate number).References:
The text was updated successfully, but these errors were encountered: