Skip to content

Commit 2f66eb9

Browse files
committed
feature(3331): scroll column instead of page for board and overview
Signed-off-by: Luutzen Dijkstra <[email protected]>
1 parent 576750e commit 2f66eb9

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

src/components/board/Board.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export default {
282282
283283
.board {
284284
position: relative;
285-
overflow: auto;
285+
overflow-x: auto;
286286
flex-grow: 1;
287287
scrollbar-gutter: stable;
288288
}
@@ -296,6 +296,7 @@ export default {
296296
align-items: stretch;
297297
gap: $board-gap;
298298
padding: 0 $board-gap;
299+
height: 100%;
299300
300301
&:deep(.stack-draggable-wrapper.smooth-dnd-draggable-wrapper) {
301302
display: flex;
@@ -312,7 +313,9 @@ export default {
312313
display: flex;
313314
flex-direction: column;
314315
gap: $stack-gap;
315-
padding: 5px 0 $stack-gap;
316+
padding: 5px calc(#{$stack-gap / 2}) $stack-gap;
317+
margin: 0 calc(#{$stack-gap / -2});
318+
overflow-y: auto;
316319
scrollbar-gutter: stable;
317320
}
318321

src/components/overview/Overview.vue

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export default {
162162
163163
.overview {
164164
position: relative;
165-
overflow: auto;
165+
overflow-x: auto;
166166
flex-grow: 1;
167167
scrollbar-gutter: stable;
168168
display: flex;
@@ -212,15 +212,18 @@ export default {
212212
white-space: nowrap;
213213
overflow: hidden;
214214
text-overflow: ellipsis;
215-
padding: 4px;
215+
padding: $card-padding;
216216
font-size: var(--default-font-size);
217217
}
218218
219219
.dashboard-column__list {
220220
display: flex;
221221
flex-direction: column;
222222
gap: $stack-gap;
223-
padding: 5px 0 $stack-gap;
223+
padding: 5px calc(#{$stack-gap / 2}) $stack-gap;
224+
margin: 0 calc(#{$stack-gap / -2});
225+
overflow-y: auto;
226+
scrollbar-gutter: stable;
224227
}
225228
}
226229
}

0 commit comments

Comments
 (0)