Fix notes column overflow on wide viewports

Add min-width: 0 to .col-tasks and .col-notes so CSS grid items
shrink to their track size. Change notes-mini-grid from repeat(2, 1fr)
to auto-fill minmax(220px, 1fr) so cards wrap instead of overflowing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-03 19:15:39 -05:00
parent 56d5268fad
commit 3bc6443161
+7 -2
View File
@@ -600,6 +600,11 @@ function clearDashboardResponse() {
gap: 2rem;
align-items: start;
}
/* Prevent grid columns from overflowing their tracks */
.col-tasks,
.col-notes {
min-width: 0;
}
/* Column headers */
.col-header {
@@ -641,10 +646,10 @@ function clearDashboardResponse() {
gap: 0.2rem;
}
/* Notes mini-grid: 2-per-row within the column */
/* Notes mini-grid: fills 2 columns when space allows, wraps otherwise */
.notes-mini-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 0.6rem;
}