Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5a7638e

Browse files
authored
Merge pull request #11449 from timhoffm/doc-css-sidebar-layout
Slightly improve doc sidebar layout
2 parents 932fd81 + 638067e commit 5a7638e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/_static/mpl.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,15 +245,18 @@ div.sphinxsidebar h3 a {
245245

246246
div.sphinxsidebar ul {
247247
padding-left: 1.5em;
248-
margin-top: 7px;
248+
margin-top: 10px;
249+
margin-bottom: 10px;
249250
list-style: none;
250251
padding: 0;
251252
line-height: 130%;
252253
}
253254

254255
div.sphinxsidebar ul ul {
255256
list-style: square;
256-
margin-left: 20px;
257+
margin-top: 6px;
258+
margin-bottom: 6px;
259+
margin-left: 16px;
257260
}
258261

259262
div.sphinxsidebar #searchbox input {

0 commit comments

Comments
 (0)