Auto merge of #106149 - notriddle:notriddle/src-sidebar-toggle-pos, r=GuillaumeGomez
rustdoc: clean up src sidebar toggle position CSS This PR makes the `464px` version of `#src-sidebar-toggle` the same as the `700px` version, with the button lower on the page so that it doesn't cover up the search form, and removes the left margin to make space for it. ## Before  ## After 
This commit is contained in:
commit
caa64e5b5e
1 changed files with 4 additions and 10 deletions
|
@ -364,6 +364,10 @@ img {
|
|||
line-height: 0;
|
||||
}
|
||||
|
||||
.sub-logo-container {
|
||||
margin-right: 32px;
|
||||
}
|
||||
|
||||
.sub-logo-container > img {
|
||||
height: 60px;
|
||||
width: 60px;
|
||||
|
@ -671,9 +675,6 @@ nav.sub {
|
|||
.source nav.sub {
|
||||
margin: 0 0 15px 0;
|
||||
}
|
||||
.source .search-form {
|
||||
margin-left: 32px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
|
@ -1833,13 +1834,6 @@ in storage.js
|
|||
height: 35px;
|
||||
width: 35px;
|
||||
}
|
||||
|
||||
#src-sidebar-toggle {
|
||||
top: 10px;
|
||||
}
|
||||
.source-sidebar-expanded #src-sidebar-toggle {
|
||||
top: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.variant,
|
||||
|
|
Loading…
Add table
Reference in a new issue