Skip to content

Commit b64dfff

Browse files
committed
rollup merge of rust-lang#22498: nagisa/style-fixes
2 parents 5250a82 + a36fc2d commit b64dfff

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/librustdoc/html/render.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,8 +1404,7 @@ impl<'a> fmt::Display for Item<'a> {
14041404

14051405
try!(write!(fmt,
14061406
r##"<span id='render-detail'>
1407-
<a id="collapse-all" href="#">[-]
1408-
</a>&nbsp;<a id="expand-all" href="#">[+]</a>
1407+
<a id="collapse-all" href="#">[-]</a>&nbsp;<a id="expand-all" href="#">[+]</a>
14091408
</span>"##));
14101409

14111410
// Write `src` tag

src/librustdoc/html/static/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,8 @@ a {
374374
color: #000;
375375
background: transparent;
376376
}
377-
p a { color: #4e8bca; }
378-
p a:hover { text-decoration: underline; }
377+
.docblock a { color: #4e8bca; }
378+
.docblock a:hover { text-decoration: underline; }
379379

380380
.content span.trait, .content a.trait, .block a.current.trait { color: #ed9603; }
381381
.content span.mod, .content a.mod, block a.current.mod { color: #4d76ae; }

0 commit comments

Comments
 (0)