]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Fix #449
authorJeremy Thomas <bbxdesign@gmail.com>
Sat, 15 Apr 2017 17:02:28 +0000 (18:02 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Sat, 15 Apr 2017 17:02:28 +0000 (18:02 +0100)
CHANGELOG.md
docs/css/bulma-docs.css
sass/grid/columns.sass

index 63d78eba68f05e928401daf42c0dd14bb3e036ca..2d24ee2279a6135e7f2d076c59c5670ba486141f 100644 (file)
@@ -27,6 +27,7 @@
 * Feature #479 has-icons placement
 * Fix #442 selected table row
 * Fix #187 add customize page
+* Fix #449 columns negative horizontal margin
 
 ## 0.4.0
 
index 0cb34c41292ec4b41742c8536f8ff5b33d9214ef..3d8e28db8086c96b9edcbcca7503e31e1f6e06e0 100644 (file)
@@ -5876,8 +5876,6 @@ label.panel-block:hover {
 }
 
 .columns {
-  margin-left: -0.75rem;
-  margin-right: -0.75rem;
   margin-top: -0.75rem;
 }
 
@@ -5933,6 +5931,8 @@ label.panel-block:hover {
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
+  margin-left: -0.75rem;
+  margin-right: -0.75rem;
 }
 
 .columns.is-multiline {
@@ -5951,6 +5951,8 @@ label.panel-block:hover {
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
+    margin-left: -0.75rem;
+    margin-right: -0.75rem;
   }
 }
 
@@ -5959,6 +5961,8 @@ label.panel-block:hover {
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
+    margin-left: -0.75rem;
+    margin-right: -0.75rem;
   }
 }
 
index e20586a8419783e837ce3fa77c37ba20ee72290f..e320e84b1e0842729b3f396fc804a4327eac44e3 100644 (file)
         margin-left: ($i / 12) * 100%
 
 .columns
-  margin-left: -0.75rem
-  margin-right: -0.75rem
   margin-top: -0.75rem
   &:last-child
     margin-bottom: -0.75rem
           margin-left: 0
   &.is-mobile
     display: flex
+    margin-left: -0.75rem
+    margin-right: -0.75rem
   &.is-multiline
     flex-wrap: wrap
   &.is-vcentered
   +tablet
     &:not(.is-desktop)
       display: flex
+      margin-left: -0.75rem
+      margin-right: -0.75rem
   +desktop
     // Modifiers
     &.is-desktop
       display: flex
+      margin-left: -0.75rem
+      margin-right: -0.75rem