Skip to content

Commit 1e05684

Browse files
committed
Improve rustdoc-toggle class
1 parent cd1483c commit 1e05684

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

extension/script/details-toggle.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
details.rustdoc-toggle {
2-
border: 1px solid rgb(0, 128, 0);
3-
margin-top: 5px;
4-
padding-left: 5px;
1+
/* Exclude .top-doc class*/
2+
details.rustdoc-toggle:not(.top-doc) {
3+
border: 1px solid #bbb;
4+
margin-top: 5px;
5+
padding: 5px;
56
}

0 commit comments

Comments
 (0)