Changing the default behaviour of `.is-fluid` container: removing media breakpoint from the rule, so the behaviour is consistent with described in docs: ``` This container is fluid: it will have a 32px gap on either side, on any viewport size. ```
This commit is contained in:
parent
bf32e26f12
commit
617cef1939
1 changed files with 5 additions and 4 deletions
|
@ -5,12 +5,13 @@ $container-offset: (2 * $gap) !default
|
|||
margin: 0 auto
|
||||
position: relative
|
||||
width: auto
|
||||
&.is-fluid
|
||||
margin-left: $gap
|
||||
margin-right: $gap
|
||||
max-width: none
|
||||
width: auto
|
||||
+desktop
|
||||
max-width: $desktop - $container-offset
|
||||
&.is-fluid
|
||||
margin-left: $gap
|
||||
margin-right: $gap
|
||||
max-width: none
|
||||
+until-widescreen
|
||||
&.is-widescreen
|
||||
max-width: $widescreen - $container-offset
|
||||
|
|
Loading…
Add table
Reference in a new issue