]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3982 fixing scrolling issue with elgg-body
authorCash Costello <cash.costello@gmail.com>
Mon, 28 Nov 2011 01:23:51 +0000 (20:23 -0500)
committercash <cash.costello@gmail.com>
Tue, 29 Nov 2011 02:44:02 +0000 (21:44 -0500)
views/default/css/admin.php
views/default/css/elements/components.php
views/default/css/elements/core.php

index c02d43512b126311fc4cc98a116d008bc3800c4d..dc1b503cbf66377c26db7cdd50bfeabd58d1a108 100644 (file)
@@ -138,6 +138,7 @@ p {
        visibility: hidden;
        height: 0 !important;
        line-height: 0;
+       overflow: hidden;
        font-size: xx-large;
        content: " x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";
 }
index f675ab7cb760928867a76a4f6fed58038ca38c14..77313fa1ab8e0748220c40faa3a1873237ca7dbb 100644 (file)
@@ -7,17 +7,6 @@
  * @package Elgg.Core
  * @subpackage UI
  */
-/**
- * elgg-body fills the space available to it.
- * It uses hidden text to expand itself. The combination of auto width, overflow
- * hidden, and the hidden text creates this effect.
- *
- * This allows us to float fixed width divs to either side of an .elgg-body div
- * without having to specify the body div's width.
- *
- * @todo check what happens with long <pre> tags or large images
- * @todo Move this to its own file -- it is very complicated and should not have to be overridden.
- */
 ?>
 
 /* ***************************************
index ace6048bb6d98b77ffef983e7f40e4568a22ebb9..74f21ee5998eb66ae50585b76c5e837ce020b7db 100644 (file)
        *overflow:visible;
 }
 
-<?php //@todo isn't this only needed if we use display:table-cell? ?>
+<?php
+/**
+ * elgg-body fills the space available to it.
+ * It uses hidden text to expand itself. The combination of auto width, overflow
+ * hidden, and the hidden text creates this effect.
+ *
+ * This allows us to float fixed width divs to either side of an .elgg-body div
+ * without having to specify the body div's width.
+ *
+ * @todo check what happens with long <pre> tags or large images
+ * @todo Move this to its own file -- it is very complicated and should not have to be overridden.
+ */
+
+//@todo isn't this only needed if we use display:table-cell?
+?>
 .elgg-body:after,
 .elgg-col-last:after {
        display: block;
        visibility: hidden;
        height: 0 !important;
        line-height: 0;
+       overflow: hidden;
        
        /* Stretch to fill up available space */
        font-size: xx-large;