bulma/sass/elements/container.sass
Kat Iwanska 617cef1939 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.
```
2019-09-19 15:04:09 +01:00

25 lines
547 B
Sass

$container-offset: (2 * $gap) !default
.container
flex-grow: 1
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
+until-widescreen
&.is-widescreen
max-width: $widescreen - $container-offset
+until-fullhd
&.is-fullhd
max-width: $fullhd - $container-offset
+widescreen
max-width: $widescreen - $container-offset
+fullhd
max-width: $fullhd - $container-offset