diff options
| author | Yuki Okushi <huyuumi.dev+love@gmail.com> | 2022-12-06 12:48:52 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-06 12:48:52 +0900 |
| commit | 6dd1a404c1c3be8a60ea3e932a08132d67f7c006 (patch) | |
| tree | 4ca24c3d3eea5a9b5d91813e9375f84d8f618fa4 /src/librustdoc/html/static/css/rustdoc.css | |
| parent | fa7d3ec630fddf8530e3e7ca8f46d80187cace98 (diff) | |
| parent | 65072ee775e681d40876580d6e551d4ee046b3c1 (diff) | |
| download | rust-6dd1a404c1c3be8a60ea3e932a08132d67f7c006.tar.gz rust-6dd1a404c1c3be8a60ea3e932a08132d67f7c006.zip | |
Rollup merge of #105309 - notriddle:notriddle/sidebar-margin-padding, r=GuillaumeGomez
rustdoc: remove no-op mobile CSS `.sidebar { margin: 0; padding: 0 }`
This isn't overriding anything, because the sidebar never has a margin or padding on it.
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 3d7694e2dc8..528e99d2ce0 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1660,8 +1660,6 @@ in storage.js /* Hide the sidebar offscreen while not in use. Doing this instead of display: none means the sidebar stays visible for screen readers, which is useful for navigation. */ left: -1000px; - margin: 0; - padding: 0; z-index: 11; /* Reduce height slightly to account for mobile topbar. */ height: calc(100vh - 45px); |
