aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}