changeset 7307:aa024cdf9ffb

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.
author John Rouillard <rouilj@ieee.org>
date Wed, 10 May 2023 16:49:34 -0400
parents 1aad478fc03f
children 24cbf3a41e8a
files website/www/_static/style.css
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/website/www/_static/style.css	Mon May 08 21:54:42 2023 -0400
+++ b/website/www/_static/style.css	Wed May 10 16:49:34 2023 -0400
@@ -87,6 +87,7 @@
 body > .navigation 
 {
   margin-left: -14em;
+  margin-inline-start: -14em;
   width: 14em;
   float: left;
 }
@@ -330,6 +331,7 @@
     body > .header { margin-inline-start: unset;
 	             margin-block-start: 3em; /* move down from search */}
     body > .navigation { margin-inline-start: unset;
+			 width: unset;
 			 float: none;}
     body > .navigation li > ul > li { padding-block: 1em;
     /* move links away from each other */ }

Roundup Issue Tracker: http://roundup-tracker.org/