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

Add scaladoc typography fallback fonts #16063

Merged
merged 1 commit into from Oct 9, 2022

Conversation

JD557
Copy link
Contributor

@JD557 JD557 commented Sep 18, 2022

Adds the correct fallback fonts to the typography.css.
This improves readibility for users who for some reason can't load the fonts (e.g. disabled JS/custom fonts on their browsers). WIthout this change, inline code would not use a monospace font on such cases.

Before
After

Copy link
Member

@szymon-rd szymon-rd left a comment

Choose a reason for hiding this comment

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

Looks great!

@TheElectronWill TheElectronWill merged commit 2052fc2 into scala:main Oct 9, 2022
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

3 participants