Do not hide the sidebar on mobile, move it outside of the viewport instead
This commit is contained in:
parent
b9197978a9
commit
c3c4b9ead6
1 changed files with 6 additions and 4 deletions
|
@ -1631,15 +1631,18 @@ details.undocumented[open] > summary::before {
|
|||
display: none;
|
||||
}
|
||||
|
||||
/* We do NOT hide this element so that alternative device readers still have this information
|
||||
available. */
|
||||
.sidebar-elems {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
left: 0;
|
||||
top: 45px;
|
||||
bottom: 0;
|
||||
width: 246px;
|
||||
/* We move the sidebar to the left by its own width so it doesn't appear. */
|
||||
left: -246px;
|
||||
overflow-y: auto;
|
||||
border-right: 1px solid;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar > .block.version {
|
||||
|
@ -1727,8 +1730,7 @@ details.undocumented[open] > summary::before {
|
|||
}
|
||||
|
||||
.show-it {
|
||||
display: block;
|
||||
width: 246px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.show-it > .block.items {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue