-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Rust Book: Don't use "px" as font size unit #39768
Comments
So @steveklabnik is in the process of moving the existing book to use mdBook, which is what the in-progress new book already uses. Taking a quick glance, it looks like mdBook's styling uses So I think PR #39633 will close this (I don't have permission to close this issue though :)). |
Ok, thx. For the information. .menu-title {
display: inline-block;
font-weight: 200;
font-size: 20px;
//...
} Maybe this was made on purpose, maybe not. I'm not really the web-dev guy. :) This is where I looked at: |
Yeah that CSS comes from mdBook, so it would need to be fixed over there. |
Ok, thx. I opened an issue on mdBook. |
Displays have different resolutions, so it is not recommended using px as font-size unit. It is better to use em or %.
The text was updated successfully, but these errors were encountered: