mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00: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
1 changed files with 6 additions and 2 deletions
|
@ -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 a new issue