-
Notifications
You must be signed in to change notification settings - Fork 11
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
QOLDEV-260 heading line height fix - h2 only #806
Conversation
h2 { | ||
line-height: 1.5em; | ||
h2, h3, h4 { | ||
line-height: 1.4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Units have been dropped, did you mean 1.4em?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heading line-height values in SWE's underlying Bootstrap framework are unitless. Reading about line-height on Mozilla's developer documentation it says "The used value is the unitless number multiplied by the element's own font size. In most cases, this is the preferred way to set line-height and avoid unexpected results due to inheritance." I made the call to keep SWE's values unitless as well.
There is a conflict; you may need to merge the 4.0.15 branch into the QOLDEV-260 one, or rebase it. |
It was noticed that for any h2 heading links in an aside that the underline weight change on hover was not entirely visible. Increasing h2 line-height to 1.4 addressed the problem.
Edit: Here's a screenshot example of what was happening: