Skip to content

Commit a84a029

Browse files
authored
Update style.css
1 parent bfd6094 commit a84a029

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

style.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,18 +185,24 @@ body > footer {
185185
text-decoration: none;
186186
}
187187

188-
/* Cards Grid */
188+
/* Tiles Grid */
189189
.cards-grid {
190190
display: grid;
191191
column-gap: 1rem;
192192
grid-template-columns: repeat(2, 1fr);
193193
margin-bottom: 3rem;
194-
margin-left: Opx;
195-
margin-right: Opx;
194+
margin-left: 0;
195+
margin-right: 0;
196196
margin-top: 0.5rem;
197197
row-gap: 1rem;
198198
}
199199

200+
@media (max-width: 768px) {
201+
.cards-grid {
202+
grid-template-columns: 1fr;
203+
}
204+
}
205+
200206
/* Tiles */
201207
.tile {
202208
margin: 1rem;

0 commit comments

Comments
 (0)