From 64331e2ac18e58eb4f8aa406a98412bc0fcff130 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 26 Aug 2014 07:41:14 +1000 Subject: [PATCH] row style is common, its the way we clear divs --- app/assets/stylesheets/common/foundation/base.scss | 9 +++++++++ app/assets/stylesheets/desktop/topic-post.scss | 6 ------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/common/foundation/base.scss b/app/assets/stylesheets/common/foundation/base.scss index 6b9f570fb..c71817a7e 100644 --- a/app/assets/stylesheets/common/foundation/base.scss +++ b/app/assets/stylesheets/common/foundation/base.scss @@ -84,3 +84,12 @@ fieldset { pre code { overflow: auto; } + +// TODO figure out a clean place to put stuff like this +.row:before, .row:after { + display: table; + content: ""; +} +.row:after {clear: both;} + + diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 794e4a437..31ecebb13 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -802,12 +802,6 @@ $topic-avatar-width: 45px; position: relative; } -.row:before, .row:after { - display: table; - content: ""; -} -.row:after {clear: both;} - .dropdown { position: relative; }