Skip to content

Commit 8b190b4

Browse files
committed
Two small improvements:
Fix oversight duplicate property left in CSS (dark theme). Improve wording in comment that mentions `appearance: none`
1 parent ac20976 commit 8b190b4

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
@@ -950,8 +950,8 @@ table,
950950
/* Removes default arrow from firefox */
951951
text-indent: 0.01px;
952952
}
953-
/* cancel stylistic differences in padding
954-
in firefox for "appearance: none" <select>s */
953+
/* cancel stylistic differences in padding in firefox
954+
for "appearance: none"-style (or equivalent) <select>s */
955955
@-moz-document url-prefix() {
956956
#crate-search {
957957
padding-left: 0px; /* == 4px - 4px */

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

-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ details.undocumented > summary::before {
212212
}
213213
#crate-search:hover, #crate-search:focus {
214214
border-color: #2196f3 !important;
215-
border-color: #008dfd !important;
216215
}
217216
#crate-search-div:hover::after, #crate-search-div:focus-within::after {
218217
filter: invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);

0 commit comments

Comments
 (0)