changeset 2876:81cf2be555cb

small CSS change to avoid modernized theme horizontal scroll bar on narrow windows
author RogerHaase <haaserd@gmail.com>
date Tue, 13 Jan 2015 09:31:43 -0700
parents 0e12aca30631
children e0afda75944f
files MoinMoin/themes/modernized/static/css/stylus/theme.styl MoinMoin/themes/modernized/static/css/theme.css
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Tue Jan 06 13:38:11 2015 -0700
+++ b/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Tue Jan 13 09:31:43 2015 -0700
@@ -811,6 +811,12 @@
 .moin-suggestions
     padding-left 14px
 
+@media (max-width: 820px)
+    #moin-main-wrapper
+        width:100%;
+        min-width: 0;
+        overflow: auto;
+
 @media print
     html
         font-family serif
--- a/MoinMoin/themes/modernized/static/css/theme.css	Tue Jan 06 13:38:11 2015 -0700
+++ b/MoinMoin/themes/modernized/static/css/theme.css	Tue Jan 13 09:31:43 2015 -0700
@@ -455,7 +455,8 @@
 .moin-search-option-bar{width:75%;padding-left:14px;}
 .moin-search-option-bar span{float:right;padding:10px}
 .moin-suggestions{padding-left:14px}
-@media print{html{font-family:serif;font-size:12pt;width:100%}
+@media (max-width: 820px){#moin-main-wrapper{width:100%;min-width:0;overflow:auto}
+}@media print{html{font-family:serif;font-size:12pt;width:100%}
 body,#moin-page,#moin-content-data{margin:0;padding:0}
 a,a:visited,a.moin-nonexistent{color:#939393;text-decoration:none}
 a.moin-interwiki:before{content:attr(title) ":"}