]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Fixes #1552 > `.container.is-fluid` margins (#1608)
authorKat Iwanska <sobylmine@gmail.com>
Thu, 19 Sep 2019 14:04:09 +0000 (00:04 +1000)
committerJeremy Thomas <bbxdesign@gmail.com>
Thu, 19 Sep 2019 14:04:09 +0000 (15:04 +0100)
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.
```

sass/elements/container.sass

index c69a99362ecdccf451e1232a2a087f889603438f..ca43a91efa58d8760b1096329eba95309c883c77 100644 (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