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:
Fabian Homborg 2022-06-01 20:54:02 +02:00
parent b487f8b662
commit f5848135e3

View file

@ -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;