mirror of
https://github.com/jgthms/bulma
synced 2026-03-23 13:29:35 -07:00
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:
committed by
Jeremy Thomas
parent
bf32e26f12
commit
617cef1939
@@ -5,12 +5,13 @@ $container-offset: (2 * $gap) !default
|
|||||||
margin: 0 auto
|
margin: 0 auto
|
||||||
position: relative
|
position: relative
|
||||||
width: auto
|
width: auto
|
||||||
|
&.is-fluid
|
||||||
|
margin-left: $gap
|
||||||
|
margin-right: $gap
|
||||||
|
max-width: none
|
||||||
|
width: auto
|
||||||
+desktop
|
+desktop
|
||||||
max-width: $desktop - $container-offset
|
max-width: $desktop - $container-offset
|
||||||
&.is-fluid
|
|
||||||
margin-left: $gap
|
|
||||||
margin-right: $gap
|
|
||||||
max-width: none
|
|
||||||
+until-widescreen
|
+until-widescreen
|
||||||
&.is-widescreen
|
&.is-widescreen
|
||||||
max-width: $widescreen - $container-offset
|
max-width: $widescreen - $container-offset
|
||||||
|
|||||||
Reference in New Issue
Block a user