Skip to content

Commit 2b455aa

Browse files
committed
rustdoc light theme: Fix CSS for selected buttons
The background was dark before, which made the text impossible to read. Now the background is white, which is how selected `div`s are rendered. As a result, the search results tabs now look identical to how they used to look (before #79896).
1 parent 2225ee1 commit 2b455aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/themes/light.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,8 @@ pre.ignore:hover, .information:hover + pre.ignore {
349349
}
350350

351351
#titles > button:hover, #titles > button.selected {
352+
background-color: #ffffff;
352353
border-top-color: #0089ff;
353-
background-color: #353535;
354354
}
355355

356356
#titles > button > div.count {

0 commit comments

Comments
 (0)