changeset 5874:6030e20324fc

modern/modernized theme: fix padding/width for editor preview The preview had too much padding, so for some specific browser window width, it sometimes showed (wide) content differently than the normal page view. See: http://moinmo.in/MoinMoinBugs/ModernPreviewPaddingTooMuch
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 16 Sep 2012 00:07:33 +0200
parents b8d55e162af5
children 5eefb9b1f06b
files MoinMoin/web/static/htdocs/modern/css/screen.css MoinMoin/web/static/htdocs/modernized/css/screen.css
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/web/static/htdocs/modern/css/screen.css	Sun Sep 16 00:00:30 2012 +0200
+++ b/MoinMoin/web/static/htdocs/modern/css/screen.css	Sun Sep 16 00:07:33 2012 +0200
@@ -387,7 +387,8 @@
 
 #preview, #previewbelow {
     border: 1px solid #6C7680;
-    padding: 10px 30px 20px 30px;
+    padding: 3px;
+    width: 100%;
     background: url(../img/draft.png);
     margin-top: 0.5em;
 }
--- a/MoinMoin/web/static/htdocs/modernized/css/screen.css	Sun Sep 16 00:00:30 2012 +0200
+++ b/MoinMoin/web/static/htdocs/modernized/css/screen.css	Sun Sep 16 00:07:33 2012 +0200
@@ -343,7 +343,8 @@
 
 #preview, #previewbelow {
     border: 1px solid #6C7680;
-    padding: 10px 30px 20px 30px;
+    padding: 3px;
+    width: 100%;
     background: url(../img/draft.png);
     margin-top: 0.5em;
 }