fix(kanban): make kanban full width on mobile
Related to https://github.com/go-vikunja/vikunja/issues/309 (cherry picked from commit 945f25b81858f0abb303c5bd0d6ce2612e1dbf3b)
This commit is contained in:
parent
2b15bb5154
commit
2fc9504285
@ -805,8 +805,9 @@ $filter-container-height: '1rem - #{$switch-view-height}';
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: $tablet) {
|
@media screen and (max-width: $tablet) {
|
||||||
height: calc(#{$crazy-height-calculation} - #{$filter-container-height});
|
height: calc(#{$crazy-height-calculation} - #{$filter-container-height} + 9px);
|
||||||
scroll-snap-type: x mandatory;
|
scroll-snap-type: x mandatory;
|
||||||
|
margin: 0 -0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-bucket-container {
|
&-bucket-container {
|
||||||
@ -884,7 +885,6 @@ $filter-container-height: '1rem - #{$switch-view-height}';
|
|||||||
// to hide the fact we just made the button smaller.
|
// to hide the fact we just made the button smaller.
|
||||||
min-width: calc(#{$bucket-width} + 1rem);
|
min-width: calc(#{$bucket-width} + 1rem);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
padding-right: 1rem;
|
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
background: var(--grey-100);
|
background: var(--grey-100);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user