Skip to content

Commit 83c7399

Browse files
committed
Correct formating of sidebar on mobile.
Unset width. Let it go full screen width. Also use margin-inline-start in place of margin-left with fallback of margin-left.
1 parent 2c19601 commit 83c7399

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

website/www/_static/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ body > .footer { margin: 1em 0 1em -14em; clear:both;}
8787
body > .navigation
8888
{
8989
margin-left: -14em;
90+
margin-inline-start: -14em;
9091
width: 14em;
9192
float: left;
9293
}
@@ -330,6 +331,7 @@ div.highlight > pre {
330331
body > .header { margin-inline-start: unset;
331332
margin-block-start: 3em; /* move down from search */}
332333
body > .navigation { margin-inline-start: unset;
334+
width: unset;
333335
float: none;}
334336
body > .navigation li > ul > li { padding-block: 1em;
335337
/* move links away from each other */ }

0 commit comments

Comments
 (0)