fix: subcategories to 2-column grid
This commit is contained in:
parent
8624d1887a
commit
fe3b32276e
1 changed files with 2 additions and 8 deletions
|
|
@ -271,7 +271,7 @@
|
||||||
/* ─── Subcategory Grid (4-col cards) ─────────────────── */
|
/* ─── Subcategory Grid (4-col cards) ─────────────────── */
|
||||||
.crt-sub-grid {
|
.crt-sub-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(4, 1fr);
|
grid-template-columns: repeat(2, 1fr);
|
||||||
gap: 0.75rem;
|
gap: 0.75rem;
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
@ -376,13 +376,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ─── Responsive subcategory grid ────────────────────── */
|
/* ─── Responsive subcategory grid ────────────────────── */
|
||||||
@media (max-width: 1200px) {
|
@media (max-width: 768px) {
|
||||||
.crt-sub-grid { grid-template-columns: repeat(3, 1fr); }
|
|
||||||
}
|
|
||||||
@media (max-width: 900px) {
|
|
||||||
.crt-sub-grid { grid-template-columns: repeat(2, 1fr); }
|
|
||||||
}
|
|
||||||
@media (max-width: 600px) {
|
|
||||||
.crt-sub-grid { grid-template-columns: 1fr; }
|
.crt-sub-grid { grid-template-columns: 1fr; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue