We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9b0238 commit 7f2da74Copy full SHA for 7f2da74
1 file changed
app/src/App.vue
@@ -59,9 +59,28 @@ import decks from './decks'
59
.grid {
60
display: grid;
61
gap: 1.8rem;
62
- grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
+ grid-template-columns: 1fr;
63
}
64
65
+@media (min-width: 640px) {
66
+ .grid {
67
+ grid-template-columns: repeat(2, 1fr);
68
+ }
69
+}
70
+
71
+@media (min-width: 1024px) {
72
73
+ grid-template-columns: repeat(3, 1fr);
74
75
76
77
+@media (min-width: 1400px) {
78
79
+ grid-template-columns: repeat(4, 1fr);
80
81
82
83
84
/* Card */
85
.card {
86
display: flex;
0 commit comments