File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,8 @@ span.pre {
140140}
141141
142142div .sphinxsidebar {
143+ display : flex;
144+ width : 260px ;
143145 float : none;
144146 position : sticky;
145147 top : 0 ;
@@ -156,13 +158,18 @@ div.sphinxsidebar h4 {
156158 margin-top : 1.5em ;
157159}
158160
161+ div .documentwrapper > div .bodywrapper {
162+ margin-left : 260px ;
163+ }
164+
159165div .sphinxsidebarwrapper {
160- width : 217px ;
166+ /* width: 217px; */
161167 box-sizing : border-box;
162168 height : 100% ;
163169 overflow-x : hidden;
164170 overflow-y : auto;
165- float : left;
171+ float : none;
172+ flex-grow : 1 ;
166173}
167174
168175div .sphinxsidebarwrapper > h3 : first-child {
@@ -199,10 +206,11 @@ div.sphinxsidebar input[type='text'] {
199206 font-size : 1.2em ;
200207 cursor : pointer;
201208 padding-top : 1px ;
202- float : right ;
209+ float : none ;
203210 display : table;
204211 /* after Sphinx 4.x and earlier is dropped, only the below is needed */
205212 width : 12px ;
213+ min-width : 12px ;
206214 border-radius : 0 5px 5px 0 ;
207215 border-left : none;
208216}
You can’t perform that action at this time.
0 commit comments