app/assets/stylesheets/sass/elements/container.sass in bulma-sass-0.7.4 vs app/assets/stylesheets/sass/elements/container.sass in bulma-sass-0.7.5
- old
+ new
@@ -1,25 +1,23 @@
+$container-offset: (2 * $gap) !default
+
.container
+ flex-grow: 1
margin: 0 auto
position: relative
+ width: auto
+desktop
- max-width: $desktop - (2 * $gap)
- width: $desktop - (2 * $gap)
+ max-width: $desktop - $container-offset
&.is-fluid
margin-left: $gap
margin-right: $gap
max-width: none
- width: auto
+until-widescreen
&.is-widescreen
- max-width: $widescreen - (2 * $gap)
- width: auto
+ max-width: $widescreen - $container-offset
+until-fullhd
&.is-fullhd
- max-width: $fullhd - (2 * $gap)
- width: auto
+ max-width: $fullhd - $container-offset
+widescreen
- max-width: $widescreen - (2 * $gap)
- width: $widescreen - (2 * $gap)
+ max-width: $widescreen - $container-offset
+fullhd
- max-width: $fullhd - (2 * $gap)
- width: $fullhd - (2 * $gap)
+ max-width: $fullhd - $container-offset