feat: add scroll snapping to kanban view #1796

Merged
dpschen merged 1 commits from dpschen/frontend:feature/feat-kanban-scroll-snapping into main 2022-04-11 22:09:07 +00:00
1 changed files with 2 additions and 0 deletions

View File

@ -627,6 +627,7 @@ $filter-container-height: '1rem - #{$switch-view-height}';
height: calc(#{$crazy-height-calculation});
margin: 0 -1.5rem;
padding: 0 1.5rem;
scroll-snap-type: x mandatory;
@media screen and (max-width: $tablet) {
height: calc(#{$crazy-height-calculation} - #{$filter-container-height});
@ -666,6 +667,7 @@ $filter-container-height: '1rem - #{$switch-view-height}';
display: flex;
flex-direction: column;
overflow: hidden; // Make sure the edges are always rounded
scroll-snap-align: center;
.tasks {
overflow: hidden auto;