Skip to content

Commit

Permalink
Two small improvements:
Browse files Browse the repository at this point in the history
Fix oversight duplicate property left in CSS (dark theme).

Improve wording in comment that mentions `appearance: none`
  • Loading branch information
steffahn committed Jul 11, 2022
1 parent ac20976 commit 8b190b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -950,8 +950,8 @@ table,
/* Removes default arrow from firefox */
text-indent: 0.01px;
}
/* cancel stylistic differences in padding
in firefox for "appearance: none" <select>s */
/* cancel stylistic differences in padding in firefox
for "appearance: none"-style (or equivalent) <select>s */
@-moz-document url-prefix() {
#crate-search {
padding-left: 0px; /* == 4px - 4px */
Expand Down
1 change: 0 additions & 1 deletion src/librustdoc/html/static/css/themes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ details.undocumented > summary::before {
}
#crate-search:hover, #crate-search:focus {
border-color: #2196f3 !important;
border-color: #008dfd !important;
}
#crate-search-div:hover::after, #crate-search-div:focus-within::after {
filter: invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);
Expand Down

0 comments on commit 8b190b4

Please sign in to comment.