Fix columns spacing

This commit is contained in:
Jeremy Thomas 2017-04-15 21:48:33 +01:00
parent a7103b1c36
commit f04209dda0
2 changed files with 4 additions and 12 deletions

View File

@ -5866,6 +5866,8 @@ label.panel-block:hover {
} }
.columns { .columns {
margin-left: -0.75rem;
margin-right: -0.75rem;
margin-top: -0.75rem; margin-top: -0.75rem;
} }
@ -5921,8 +5923,6 @@ label.panel-block:hover {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
margin-left: -0.75rem;
margin-right: -0.75rem;
} }
.columns.is-multiline { .columns.is-multiline {
@ -5941,8 +5941,6 @@ label.panel-block:hover {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
margin-left: -0.75rem;
margin-right: -0.75rem;
} }
} }
@ -5951,8 +5949,6 @@ label.panel-block:hover {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
margin-left: -0.75rem;
margin-right: -0.75rem;
} }
} }

View File

@ -204,6 +204,8 @@
margin-left: ($i / 12) * 100% margin-left: ($i / 12) * 100%
.columns .columns
margin-left: -0.75rem
margin-right: -0.75rem
margin-top: -0.75rem margin-top: -0.75rem
&:last-child &:last-child
margin-bottom: -0.75rem margin-bottom: -0.75rem
@ -235,8 +237,6 @@
margin-left: 0 margin-left: 0
&.is-mobile &.is-mobile
display: flex display: flex
margin-left: -0.75rem
margin-right: -0.75rem
&.is-multiline &.is-multiline
flex-wrap: wrap flex-wrap: wrap
&.is-vcentered &.is-vcentered
@ -245,11 +245,7 @@
+tablet +tablet
&:not(.is-desktop) &:not(.is-desktop)
display: flex display: flex
margin-left: -0.75rem
margin-right: -0.75rem
+desktop +desktop
// Modifiers // Modifiers
&.is-desktop &.is-desktop
display: flex display: flex
margin-left: -0.75rem
margin-right: -0.75rem