mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-04-01 03:56 am

[dw-free] Negatives sidebar is pushed to the bottom when fonts are too large / window sizes are too

[commit: http://hg.dwscoalition.org/dw-free/rev/d19df663fa4d]

http://bugs.dwscoalition.org/show_bug.cgi?id=619

Fix CSS issue with Negatives sidebar.

Patch by [personal profile] av8rmike.

Files modified:
  • bin/upgrading/s2layers/negatives/layout.s2
--------------------------------------------------------------------------------
diff -r 51008c0d151e -r d19df663fa4d bin/upgrading/s2layers/negatives/layout.s2
--- a/bin/upgrading/s2layers/negatives/layout.s2	Wed Apr 01 03:53:11 2009 +0000
+++ b/bin/upgrading/s2layers/negatives/layout.s2	Wed Apr 01 03:56:40 2009 +0000
@@ -139,6 +139,7 @@ function print_stylesheet()
         border: 0!important;
         }
     #primary {
+        position: relative;
         float: left;
         font-size: 0.9em;
         padding: 10px;
@@ -148,14 +149,13 @@ function print_stylesheet()
         border-right:5px double $*middle_edge;
         background: $*middle_background;
         color:$*theme_fgcolor;
-        margin-left: 10%;
+        left: 10%;
         width: 70%;
         }
     #secondary {
-        /*position: absolute;*/
+        position: relative;
         float: left;
-        /*top: 40px;*/
-        right: 0px; /* Opera5.02 will show a space at right when there is no scroll bar */
+        left: 10%;
         margin: 0px;
         padding: 10px;
         border: 0px;
--------------------------------------------------------------------------------