Skip to content

Commit e77b8ce

Browse files
authored
Rollup merge of rust-lang#101323 - GuillaumeGomez:remove-unused-css, r=notriddle
Remove unused .toggle-label CSS rule It was added in rust-lang#44192 but since we moved to `<details>`, we don't use this rule any more. r? `@notriddle`
2 parents 1e008fe + 017cfeb commit e77b8ce

File tree

4 files changed

+0
-9
lines changed

4 files changed

+0
-9
lines changed

Diff for: src/librustdoc/html/static/css/rustdoc.css

-6
Original file line numberDiff line numberDiff line change
@@ -1241,12 +1241,6 @@ h3.variant {
12411241
margin-left: 24px;
12421242
}
12431243

1244-
.toggle-label {
1245-
display: inline-block;
1246-
margin-left: 4px;
1247-
margin-top: 3px;
1248-
}
1249-
12501244
:target > code, :target > .code-header {
12511245
opacity: 1;
12521246
}

Diff for: src/librustdoc/html/static/css/themes/ayu.css

-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ a.test-arrow:hover {
242242
color: #c5c5c5;
243243
}
244244

245-
.toggle-label,
246245
.code-attribute {
247246
color: #999;
248247
}

Diff for: src/librustdoc/html/static/css/themes/dark.css

-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ a.test-arrow:hover{
197197
background-color: #4e8bca;
198198
}
199199

200-
.toggle-label,
201200
.code-attribute {
202201
color: #999;
203202
}

Diff for: src/librustdoc/html/static/css/themes/light.css

-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ a.test-arrow:hover{
182182
background-color: #4e8bca;
183183
}
184184

185-
.toggle-label,
186185
.code-attribute {
187186
color: #999;
188187
}

0 commit comments

Comments
 (0)