Skip to content

Commit e957480

Browse files
steffahnGuillaumeGomez
authored andcommitted
Two small improvements:
Fix oversight duplicate property left in CSS (dark theme). Improve wording in comment that mentions `appearance: none`
1 parent 16bcc18 commit e957480

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/librustdoc/html/static/css/rustdoc.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -984,8 +984,8 @@ table,
984984
text-indent: 0.01px;
985985
background-color: var(--main-background-color);
986986
}
987-
/* cancel stylistic differences in padding
988-
in firefox for "appearance: none" <select>s */
987+
/* cancel stylistic differences in padding in firefox
988+
for "appearance: none"-style (or equivalent) <select>s */
989989
@-moz-document url-prefix() {
990990
#crate-search {
991991
padding-left: 0px; /* == 4px - 4px */

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

-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ details.rustdoc-toggle > summary::before {
170170
}
171171
#crate-search:hover, #crate-search:focus {
172172
border-color: #2196f3 !important;
173-
border-color: #008dfd !important;
174173
}
175174
#crate-search-div:hover::after, #crate-search-div:focus-within::after {
176175
filter: invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);

0 commit comments

Comments
 (0)