Skip to content

Commit

Permalink
Fixes #1552 > .container.is-fluid margins (#1608)
Browse files Browse the repository at this point in the history
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.
```
  • Loading branch information
kiwanska authored and jgthms committed Sep 19, 2019
1 parent bf32e26 commit 617cef1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sass/elements/container.sass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 617cef1

Please sign in to comment.