Permalink
Browse files

Flux Layout: ‘flush-‘ CSS rules amends

Yea yea yea, no-one likes !important in CSS, but sometimes it’s actually fine to use them you know… not naughty! In this case we want to ensure that regardless of other CSS rules, if you apply any of the core ‘flush-‘ css classses they always apply - see, not naughty after all ;)
  • Loading branch information...
Jonnyauk committed Feb 8, 2018
1 parent 0a3f6da commit 9f4837b072055e21c2e0dc14184a4cf69f288b0d
Showing with 4 additions and 4 deletions.
  1. +4 −4 wf-content/css/wf-css-flux-layout-core.css
@@ -58,10 +58,10 @@ td,th { padding: 5px; }
.content-center { text-align: center; }
.content-right { text-align: right; }
.first, .flush-left { margin-left: 0; padding-left: 0; }
.last, .flush-right { margin-right: 0; padding-right: 0; }
.top, .flush-top { margin-top: 0; padding-top: 0; }
.bottom, .flush-bottom { margin-bottom: 0; padding-bottom: 0; }
.first, .flush-left { margin-left: 0 !important; padding-left: 0 !important; }
.last, .flush-right { margin-right: 0 !important; padding-right: 0 !important; }
.top, .flush-top { margin-top: 0 !important; padding-top: 0 !important; }
.bottom, .flush-bottom { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.float-l { float: left; }
.float-r { float: right; }

0 comments on commit 9f4837b

Please sign in to comment.