Fixes #1552 > .container.is-fluid margins (#1608)

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:
Kat Iwanska 2019-09-20 00:04:09 +10:00 committed by Jeremy Thomas
parent bf32e26f12
commit 617cef1939

View file

@ -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