Skip to content

Commit

Permalink
Rollup merge of #103268 - notriddle:notriddle/nav-sub-font-size, r=Gu…
Browse files Browse the repository at this point in the history
…illaumeGomez

rustdoc: remove no-op CSS `nav.sub { font-size: 1rem }`

This rule originated as a `font-size: 16px`, when body had `font-size: 13px` set in 4fd061c.

It remained even when body's font size was bumped up to 16px, 4d5f4ff, making the rule a no-op, and was carried forward when it was converted to 1rem in cc18120.
  • Loading branch information
matthiaskrgr committed Oct 20, 2022
2 parents 56ff294 + 0dd329f commit f8dfddb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,6 @@ pre, .rustdoc.source .example-wrap {

nav.sub {
position: relative;
font-size: 1rem;
flex-grow: 1;
margin-bottom: 25px;
}
Expand Down

0 comments on commit f8dfddb

Please sign in to comment.