fix: make adjacent board columns visibly peek on mobile (#10)

- Column width 78vw → 75vw so ~25vw of the next column is visible
- scroll-snap-type mandatory → proximity so the peek persists at rest
- Removed scroll-behavior: smooth for native momentum feel

The previous fix (78vw + mandatory snap) still hid adjacent columns
because mandatory snap forced the viewport to align flush with each
column edge. Proximity snap allows the natural resting position to
show the neighboring column.
This commit is contained in:
xarmian
2026-03-28 11:54:46 -04:00
committed by GitHub
parent 75f4a48fcb
commit 1fd0911bd9
@@ -440,16 +440,15 @@
.board-view {
display: flex;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
scroll-snap-type: x proximity;
-webkit-overflow-scrolling: touch;
gap: var(--space-3);
padding: 0 var(--space-4) var(--space-3);
}
.kanban-column {
min-width: 78vw;
max-width: 78vw;
min-width: 75vw;
max-width: 75vw;
scroll-snap-align: start;
flex-shrink: 0;
}