Skip to content

Commit 4a2116b

Browse files
[CSS] Fix unwanted top margin for toggle wrapper
1 parent 8052f73 commit 4a2116b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/librustdoc/html/static/rustdoc.css

+4-1
Original file line numberDiff line numberDiff line change
@@ -636,8 +636,11 @@ span.since {
636636
margin-right: 5px;
637637
}
638638

639-
.enum > .toggle-wrapper > .collapse-toggle, .struct > .toggle-wrapper > .collapse-toggle {
639+
.toggle-wrapper > .collapse-toggle {
640640
left: 0;
641+
}
642+
643+
.variant + .toggle-wrapper > a {
641644
margin-top: 5px;
642645
}
643646

0 commit comments

Comments
 (0)