feat: add scroll snapping to kanban view
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dominik Pschenitschni 2022-02-15 14:47:54 +01:00
parent 6d7118e3bb
commit 5b34042499
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
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;