| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| 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: min(25vw, 350px); | ||
| 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.bodywrapper { | ||
| 162 | + margin-left: min(25vw, 350px); | ||
| 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 { | |
@@ -202,9 +208,10 @@ div.sphinxsidebar input[type='text'] { | |||
| 202 | 208 | font-size: 1.2em; | |
| 203 | 209 | cursor: pointer; | |
| 204 | 210 | padding-top: 1px; | |
| 205 | - float: right; | ||
| 211 | + float: none; | ||
| 206 | 212 | /* after Sphinx 4.x and earlier is dropped, only the below is needed */ | |
| 207 | 213 | width: 12px; | |
| 214 | + min-width: 12px; | ||
| 208 | 215 | border-radius: 0 5px 5px 0; | |
| 209 | 216 | border-left: none; | |
| 210 | 217 | } | |
@@ -485,7 +492,7 @@ div.genindex-jumpbox a { | |||
| 485 | 492 | margin-inline-end: 0; | |
| 486 | 493 | } | |
| 487 | 494 | /* Remove sidebar and top related bar */ | |
| 488 | - div.related, .sphinxsidebar { | ||
| 495 | + div.related, div.sphinxsidebar { | ||
| 489 | 496 | display: none; | |
| 490 | 497 | } | |
| 491 | 498 | /* Anchorlinks are not hidden by fixed-positioned navbar when scrolled to */ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments