Skip to content
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

Better selection of font (including line-height) in navbar #2722

Merged
merged 1 commit into from Nov 19, 2020

Conversation

henrikt-ma
Copy link
Collaborator

The previous use of the CSS 'font' property was implying a 'line-height' of 1.0, making the table of contents rather hard to read.

By specifying 'font-size' and 'line-height' instead, we can not ensure that the font face is the same sans-serif as set in .body, and we can make a compromise between readability and need for scrolling by setting a 'line-height' somewhere between 1.0 and the inherited 1.5.

The previous use of the CSS 'font' property was implying a 'line-height' of 1.0, making the table of contents rather hard to read.

By specifying 'font-size' and 'line-height' instead, we can not ensure that the font face is the same sans-serif as set in .body, and we can make a compromise between readability and need for scrolling by setting a 'line-height' somewhere between 1.0 and the inherited 1.5.
Copy link
Collaborator

@HansOlsson HansOlsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it looks ok.

@HansOlsson HansOlsson merged commit f686111 into modelica:master Nov 19, 2020
@henrikt-ma henrikt-ma deleted the styling/navbar-font branch November 19, 2020 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants