style: optimize stat-card grid to fit on 1 line for desktop screens or 2 lines for laptops
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Build (push) Has been cancelled

This commit is contained in:
2026-07-21 18:14:24 +00:00
parent 59c38e8f8f
commit ba25f5e6c8
+17 -4
View File
@@ -752,21 +752,34 @@ body {
/* Stat Cards */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 1.5rem;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 1rem;
margin-bottom: 1.5rem;
}
@media (min-width: 1400px) {
.stats-grid {
grid-template-columns: repeat(7, 1fr);
}
}
@media (min-width: 900px) and (max-width: 1399px) {
.stats-grid {
grid-template-columns: repeat(4, 1fr);
}
}
.stat-card {
background: var(--bg1);
padding: var(--spacing-lg);
padding: 1rem 1.1rem;
border-radius: var(--border-radius);
border: 1px solid var(--bg2);
box-shadow: var(--shadow-sm);
display: flex;
gap: 1.25rem;
gap: 0.85rem;
align-items: center;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
min-width: 0;
}
.stat-card:hover {