]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Added !important keyword to float: none; rule of centered columns in grid system 5083/head
authorgastlich <gastlich@gmail.com>
Tue, 29 Apr 2014 20:07:44 +0000 (21:07 +0100)
committergastlich <gastlich@gmail.com>
Tue, 29 Apr 2014 20:07:44 +0000 (21:07 +0100)
commitf8303ea055eb67467d29678e51cca41f8c09ac25
tree37e429a9a9ef72af9ee7dbbf2fe077e1cc465a9a
parentc25e4c08038f141d5216f0d2fb15f516e133e593
Added !important keyword to float: none; rule of centered columns in grid system
Currently selectors:
[class*="column"] + [class*="column"]:last-child { float: $opposite-direction; }
[class*="column"] + [class*="column"].end { float: $default-float; }
are more specific (specifity= 3) than rules for centered columns (specifity=2), and if centered
column is the last one in a row it will use f.e. float: right; rule instead of
float: none; from centered classes
scss/foundation/components/_grid.scss