Center category grid bottom row

This commit is contained in:
Codex
2026-03-07 19:36:05 +00:00
parent f80a05bb7f
commit 6d23268f33

View File

@@ -467,10 +467,11 @@ a:hover {
width: 100%; width: 100%;
} }
.category-grid { .category-grid {
width: 100%; width: min(1160px, 100%);
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
gap: clamp(0.75rem, 1.3vw, 1.25rem); gap: clamp(0.75rem, 1.3vw, 1.25rem);
justify-content: center;
justify-items: stretch; justify-items: stretch;
} }
@@ -616,7 +617,9 @@ a:hover {
gap: 1rem; gap: 1rem;
} }
.category-grid { .category-grid {
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); width: min(960px, 100%);
grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
justify-content: center;
} }
.stats-row { .stats-row {
gap: 1.5rem; gap: 1.5rem;