mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 13:18:59 +08:00
docs: Yeah nah undo flex
This is broken in narrow screens - the sidebar shrinks to unusable proportions but still stays. So instead we go the *other* way, force the left margin and undo the flexifying. (again we should really stop relying on sphinx' css)
This commit is contained in:
parent
b487f8b662
commit
f5848135e3
|
@ -112,7 +112,7 @@ div.documentwrapper {
|
|||
}
|
||||
|
||||
div.document {
|
||||
display: flex;
|
||||
display: block;
|
||||
}
|
||||
|
||||
div.document, div.body, div.warning {
|
||||
|
@ -356,7 +356,7 @@ div.sphinxsidebar ul {
|
|||
|
||||
|
||||
div.bodywrapper {
|
||||
margin: 0;
|
||||
margin-left: 230px;
|
||||
}
|
||||
|
||||
/* On screens that are less than 700px wide remove anything non-essential
|
||||
|
@ -371,6 +371,10 @@ div.bodywrapper {
|
|||
div.documentwrapper {
|
||||
float: left;
|
||||
}
|
||||
div.bodywrapper {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
|
||||
div.sphinxsidebar ul {
|
||||
flex-basis: content;
|
||||
|
|
Loading…
Reference in New Issue
Block a user