1. Christian Jann
  2. tinkerer

Commits

Vlad Riscutia  committed 0cc32e0

Couple of layout tweaks

  • Participants
  • Parent commits 27d355b
  • Branches default

Comments (0)

Files changed (2)

File tinkerer/themes/modern5/layout.html

View file
 
             if (sidebar.offsetHeight > documentwrapper.offsetHeight)
             {
-                documentwrapper.style.minHeight = sidebar.offsetHeight + "px";
+                var mainwrapper = document.getElementsByClassName("main")[0];
+                documentwrapper.style.minHeight = mainwrapper.offsetHeight + "px";
             }
 
             // Scroll to content if on small screen

File tinkerer/themes/modern5/static/modern5.css_t

View file
 }
 
 @media only screen and (min-width: 999px) {
-    article { float: left; margin-right: 333px; width: auto; }
+    article { float: left; width: 583px; }
 
-    aside { display: block; float: left; margin-left: -330px; width: 330px; }
+    aside { display: block; margin-left: 669px; width: 330px; }
 }
 
 /* Palette */