diff --git a/app/assets/stylesheets/common/admin/admin_base.scss b/app/assets/stylesheets/common/admin/admin_base.scss index bb0591f5c63..095b02ff9ab 100644 --- a/app/assets/stylesheets/common/admin/admin_base.scss +++ b/app/assets/stylesheets/common/admin/admin_base.scss @@ -33,6 +33,7 @@ td.flaggers td { margin-bottom: 50px; .admin-contents { padding: 8px; + @include clearfix(); } .view-options { diff --git a/app/assets/stylesheets/common/foundation/mixins.scss b/app/assets/stylesheets/common/foundation/mixins.scss index cd4fd4ca268..60a682ac094 100644 --- a/app/assets/stylesheets/common/foundation/mixins.scss +++ b/app/assets/stylesheets/common/foundation/mixins.scss @@ -33,6 +33,19 @@ // CSS3 properties // -------------------------------------------------- +// Clearfix + +@mixin clearfix() { + &:before, + &:after { + content: ""; + display: table; + } + &:after { + clear: both; + } +} + // Border radius @mixin border-radius-all($radius) {