Add multi-column grid for dashboard target cards

Target cards use responsive grid based on 500px min-width,
automatically adapting column count to screen width.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 16:32:20 +03:00
parent 3e7b64664a
commit 040a5bbdaa

View File

@@ -40,6 +40,17 @@
margin-bottom: 10px; margin-bottom: 10px;
padding-left: 16px; padding-left: 16px;
} }
.dashboard-subsection .dashboard-section-content {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(500px, 100%), 1fr));
gap: 4px;
}
.dashboard-subsection .dashboard-section-content .dashboard-target {
margin-bottom: 0;
min-width: 0;
}
.dashboard-subsection .dashboard-section-header { .dashboard-subsection .dashboard-section-header {
font-size: 0.72rem; font-size: 0.72rem;
} }