mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +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"
|
||||
see $grid in assets/css/_variables.sass
|
||||
|
||||
mixin grid-col(width)
|
||||
.o-grid__col(class="o-grid__col--#{width}")&attributes(attributes)
|
||||
mixin grid-col(...style)
|
||||
.o-grid__col(class=prefixArgs(style, "o-grid__col"))&attributes(attributes)
|
||||
block
|
||||
|
||||
|
||||
|
|
|
@ -48,6 +48,9 @@
|
|||
flex: 0 0 100%
|
||||
flex-flow: column wrap
|
||||
|
||||
&.o-grid__col--no-gutter
|
||||
margin-top: 0
|
||||
|
||||
// Fix overflow issue in old browsers
|
||||
|
||||
& > *
|
||||
|
|
Loading…
Reference in New Issue
Block a user