mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Allow custom tile denominator
This commit is contained in:
parent
7b844c7156
commit
f560eb990a
@ -1,5 +1,6 @@
|
||||
@import "../utilities/mixins"
|
||||
|
||||
$tile-denominator: 12 !default
|
||||
$tile-spacing: 0.75rem !default
|
||||
|
||||
.tile
|
||||
@ -30,7 +31,7 @@ $tile-spacing: 0.75rem !default
|
||||
+tablet
|
||||
&:not(.is-child)
|
||||
display: flex
|
||||
@for $i from 1 through 12
|
||||
@for $i from 1 through $tile-denominator
|
||||
&.is-#{$i}
|
||||
flex: none
|
||||
width: ($i / 12) * 100%
|
||||
width: ($i / $tile-denominator) * 100%
|
||||
|
Loading…
Reference in New Issue
Block a user