Skip to content

Commit 3c22150

Browse files
committed
Refine Sphinx sidebar spacing
1 parent bbb0b87 commit 3c22150

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/_static/jano-docs.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ div.body span.caption-text {
208208

209209
div.sphinxsidebar {
210210
background: transparent;
211+
box-sizing: border-box;
212+
padding-right: 1.15rem;
211213
padding-top: 1rem;
212214
}
213215

@@ -1122,6 +1124,10 @@ hr.docutils {
11221124
}
11231125

11241126
@media (max-width: 900px) {
1127+
div.sphinxsidebar {
1128+
padding-right: 0;
1129+
}
1130+
11251131
div.body {
11261132
padding: 1.7rem 1.3rem;
11271133
border-radius: 20px;

0 commit comments

Comments
 (0)