aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 23:07:22 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 23:07:22 +0000
commit1bf194e07738873220822383d634472e961cfa7f (patch)
tree78941ef356c7e6c081ab8d76b7896e34dfeb5e59
parent6dd150cb3f21cc1973274eba2cef5a37f15eb770 (diff)
downloadelgg-1bf194e07738873220822383d634472e961cfa7f.tar.gz
elgg-1bf194e07738873220822383d634472e961cfa7f.tar.bz2
Fixes #3084 added clearfix to elgg-layout
git-svn-id: http://code.elgg.org/elgg/trunk@8860 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/css/admin.php8
-rw-r--r--views/default/css/elements/layout.php8
2 files changed, 16 insertions, 0 deletions
diff --git a/views/default/css/admin.php b/views/default/css/admin.php
index 02e67394c..2cb300212 100644
--- a/views/default/css/admin.php
+++ b/views/default/css/admin.php
@@ -249,6 +249,14 @@ table.mceLayout {
.elgg-main h2 {
color: #333333;
}
+<?php // elgg-layout gets clearfix ?>
+.elgg-layout:after {
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
+}
/* ***************************************
FOOTER
diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php
index d52938aee..d512c3602 100644
--- a/views/default/css/elements/layout.php
+++ b/views/default/css/elements/layout.php
@@ -72,6 +72,14 @@
.elgg-layout {
min-height: 360px;
}
+<?php // elgg-layout gets clearfix ?>
+.elgg-layout:after {
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
+}
.elgg-layout-one-column {
padding: 10px 0;
}