Rollup merge of #106543 - notriddle:notriddle/source-sidebar-width-zero, r=GuillaumeGomez
rustdoc: remove no-op CSS `.rustdoc.source .sidebar { width: 0 }`
This CSS was added in dc2c972334, before 6a5f8b1aef when the sidebars were merged.
Now that they are merged, the source sidebar is being pushed off-screen anyway, so giving it zero width doesn't do much.
This commit is contained in:
commit
64beb046ee
3 changed files with 7 additions and 11 deletions
|
|
@ -1598,14 +1598,10 @@ in storage.js
|
|||
|
||||
.sidebar.shown,
|
||||
.source-sidebar-expanded .source .sidebar,
|
||||
.sidebar:focus-within {
|
||||
.rustdoc:not(.source) .sidebar:focus-within {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.rustdoc.source > .sidebar {
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.mobile-topbar h2 {
|
||||
padding-bottom: 0;
|
||||
margin: auto 0.5em auto auto;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue