From f0beca3ed8822d9ecb823c3ad36875c0e00a1118 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Wed, 16 Dec 2015 19:36:48 +0100 Subject: Add proper clearfix for frontend --- app/assets/stylesheets/hmno_main.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'app') 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; + } +} -- cgit v1.2.3