diff options
| author | Frank Steffahn <fdsteffahn@gmail.com> | 2023-07-20 17:46:32 +0900 |
|---|---|---|
| committer | Frank Steffahn <fdsteffahn@gmail.com> | 2023-07-20 17:46:32 +0900 |
| commit | 2009b4a5cc1d097188da4396f423a076ac6282a1 (patch) | |
| tree | 9ff57e6a1c1dc69b6eac0639f1cd7906b85fb9ec /src | |
| parent | 0646a5d1aa3745cb448db247f6fa432890a1812b (diff) | |
| download | rust-2009b4a5cc1d097188da4396f423a076ac6282a1.tar.gz rust-2009b4a5cc1d097188da4396f423a076ac6282a1.zip | |
Remove adjustments that used to be necessary for search's crate selector appearance (padding)
to look identical on Firefox. New versions of Firefox appear to have changed behavior to agree with Chrome.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 94e778406f8..b1de8c1529e 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -776,7 +776,6 @@ table, } #crate-search { min-width: 115px; - /* keep these two in sync with "@-moz-document url-prefix()" below */ padding: 0 23px 0 4px; /* prevents the <select> from overflowing the containing div in case it's shrunk */ max-width: 100%; @@ -798,14 +797,6 @@ table, #crate-search:hover, #crate-search:focus { border-color: var(--crate-search-hover-border); } -/* 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 */ - padding-right: 19px; /* == 23px - 4px */ - } -} /* pseudo-element for holding the dropdown-arrow image; needs to be a separate thing so that we can apply CSS-filters to change the arrow color in themes */ #crate-search-div::after { |
