WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 327b18a

Browse files
committed
refactor: Avoid breaking functionality on Grid (additional commit)
1 parent 3b73060 commit 327b18a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/themes/core/flex.styl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,10 @@ flex-media-query($type)
151151

152152
for $cols in (1..$grid-cols)
153153
for $parts in (1..$cols)
154-
if $cols != $parts && $parts % $cols != 0
155-
.{$type}-width-{$parts}of{$cols}
156-
flex 0 1 (round($parts / $cols * 100))%
157-
.{$type}-offset-{$parts}of{$cols}
158-
margin-left (round($parts / $cols * 100))%
154+
.{$type}-width-{$parts}of{$cols}
155+
flex 0 1 (round($parts / $cols * 100))%
156+
.{$type}-offset-{$parts}of{$cols}
157+
margin-left (round($parts / $cols * 100))%
159158

160159
.{$type}-order-first
161160
order -1000

0 commit comments

Comments
 (0)