File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,8 @@ span.pre {
140
140
}
141
141
142
142
div .sphinxsidebar {
143
+ display : flex;
144
+ width : 260px ;
143
145
float : none;
144
146
position : sticky;
145
147
top : 0 ;
@@ -156,13 +158,17 @@ div.sphinxsidebar h4 {
156
158
margin-top : 1.5em ;
157
159
}
158
160
161
+ div .documentwrapper > div .bodywrapper {
162
+ margin-left : 260px ;
163
+ }
164
+
159
165
div .sphinxsidebarwrapper {
160
- width : 217px ;
161
166
box-sizing : border-box;
162
167
height : 100% ;
163
168
overflow-x : hidden;
164
169
overflow-y : auto;
165
- float : left;
170
+ float : none;
171
+ flex-grow : 1 ;
166
172
}
167
173
168
174
div .sphinxsidebarwrapper > h3 : first-child {
@@ -199,10 +205,11 @@ div.sphinxsidebar input[type='text'] {
199
205
font-size : 1.2em ;
200
206
cursor : pointer;
201
207
padding-top : 1px ;
202
- float : right ;
208
+ float : none ;
203
209
display : table;
204
210
/* after Sphinx 4.x and earlier is dropped, only the below is needed */
205
211
width : 12px ;
212
+ min-width : 12px ;
206
213
border-radius : 0 5px 5px 0 ;
207
214
border-left : none;
208
215
}
You can’t perform that action at this time.
0 commit comments