feat(board): scroll snapping on mobile

This commit is contained in:
Elian Doran 2025-11-15 13:01:30 +02:00
parent b7703fc4df
commit 63cc5b21b4
No known key found for this signature in database

View File

@ -9,6 +9,12 @@
--card-padding: 0.6em;
}
body.mobile .board-view {
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
scroll-behavior: smooth;
}
.board-view-container {
height: 100%;
display: flex;
@ -31,6 +37,12 @@
flex-direction: column;
}
body.mobile .board-view-container .board-column {
width: 75vw;
max-width: 300px;
scroll-snap-align: center;
}
.board-view-container .board-column.drag-over {
border-color: var(--main-text-color);
background-color: var(--hover-item-background-color);