mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 02:36:32 +03:00
Allow other style arguments on +grid-col
This commit is contained in:
parent
08869c19fd
commit
25f6331550
|
@ -448,8 +448,8 @@ mixin grid(...style)
|
||||||
width - [string] "quarter", "third", "half", "two-thirds", "three-quarters"
|
width - [string] "quarter", "third", "half", "two-thirds", "three-quarters"
|
||||||
see $grid in assets/css/_variables.sass
|
see $grid in assets/css/_variables.sass
|
||||||
|
|
||||||
mixin grid-col(width)
|
mixin grid-col(...style)
|
||||||
.o-grid__col(class="o-grid__col--#{width}")&attributes(attributes)
|
.o-grid__col(class=prefixArgs(style, "o-grid__col"))&attributes(attributes)
|
||||||
block
|
block
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,9 @@
|
||||||
flex: 0 0 100%
|
flex: 0 0 100%
|
||||||
flex-flow: column wrap
|
flex-flow: column wrap
|
||||||
|
|
||||||
|
&.o-grid__col--no-gutter
|
||||||
|
margin-top: 0
|
||||||
|
|
||||||
// Fix overflow issue in old browsers
|
// Fix overflow issue in old browsers
|
||||||
|
|
||||||
& > *
|
& > *
|
||||||
|
|
Loading…
Reference in New Issue
Block a user