]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3409 fixed small viewport issue with default theme
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 12 Jun 2011 17:52:53 +0000 (17:52 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 12 Jun 2011 17:52:53 +0000 (17:52 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@9190 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/css/elements/layout.php

index d52938aee8f268b9d71036e5d3ff4ce89225f761..a5854f8c1d78e80a48bd745265df168d68eeab1a 100644 (file)
        PAGE LAYOUT
 *************************************** */
 /***** DEFAULT LAYOUT ******/
+<?php // the width is on the page rather than topbar to handle small viewports ?>
+.elgg-page-default {
+       min-width: 998px;
+}
 .elgg-page-default .elgg-page-header > .elgg-inner {
        width: 990px;
        margin: 0 auto;
@@ -35,7 +39,6 @@
 .elgg-page-topbar {
        background: #333333 url(<?php echo elgg_get_site_url(); ?>_graphics/toptoolbar_background.gif) repeat-x top left;
        border-bottom: 1px solid #000000;
-       min-width: 998px;
        position: relative;
        height: 24px;
        z-index: 9000;