Skip to content

Commit 32274f5

Browse files
committed
add new grid
1 parent 9c85aa6 commit 32274f5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/styles/grid.scss

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// Display 1 column on mobile, 3 columns on desktop
1+
// Display 1 column on mobile, 2 columns on desktop
2+
.show-1-2 {
3+
flex-basis: 100%;
4+
}
25
.show-1-3 {
36
flex-basis: 100%;
47
}
@@ -7,6 +10,9 @@
710
}
811

912
@media (min-width: 768px) {
13+
.show-1-2 {
14+
flex: 0 1 calc(50% - .5rem);
15+
}
1016
.show-1-3 {
1117
flex: 0 1 calc(33% - .75rem);
1218
}

0 commit comments

Comments
 (0)