aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-12-16 19:36:48 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-12-16 19:36:48 +0100
commitf0beca3ed8822d9ecb823c3ad36875c0e00a1118 (patch)
tree946cc50b93cb7c33eefaa648137a7ba87859bab3 /app/assets
parent90260d627fac062e307d65df87468776e0573d51 (diff)
downloadhmnoweb-f0beca3ed8822d9ecb823c3ad36875c0e00a1118.tar.gz
hmnoweb-f0beca3ed8822d9ecb823c3ad36875c0e00a1118.tar.bz2
hmnoweb-f0beca3ed8822d9ecb823c3ad36875c0e00a1118.zip
Add proper clearfix for frontend
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/hmno_main.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/assets/stylesheets/hmno_main.scss b/app/assets/stylesheets/hmno_main.scss
index 7e6d565..bd741f7 100644
--- a/app/assets/stylesheets/hmno_main.scss
+++ b/app/assets/stylesheets/hmno_main.scss
@@ -64,3 +64,15 @@ img {
margin-righ: 0;
}
+.clearfix {
+ display:inline-block;
+ display:block; // Hide from IE Mac
+
+ &:after {
+ content:".";
+ display:block;
+ height:0;
+ clear:both;
+ visibility:hidden;
+ }
+}