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:
@@ -600,6 +600,11 @@ function clearDashboardResponse() {
|
|||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
}
|
}
|
||||||
|
/* Prevent grid columns from overflowing their tracks */
|
||||||
|
.col-tasks,
|
||||||
|
.col-notes {
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Column headers */
|
/* Column headers */
|
||||||
.col-header {
|
.col-header {
|
||||||
@@ -641,10 +646,10 @@ function clearDashboardResponse() {
|
|||||||
gap: 0.2rem;
|
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 {
|
.notes-mini-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2, 1fr);
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
||||||
gap: 0.6rem;
|
gap: 0.6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user