mirror of
https://github.com/docmost/docmost.git
synced 2026-08-30 02:25:01 +08:00
fix(bases): make kanban board claim remaining flex height so columns scroll
This commit is contained in:
@@ -1,11 +1,15 @@
|
|||||||
.board {
|
.board {
|
||||||
|
/* Claim remaining height in the flex-column wrapper after chips strip
|
||||||
|
* and sort hint take their natural heights. Without flex:1+min-height:0
|
||||||
|
* the board's children (columns) wouldn't have a bounded height and
|
||||||
|
* `.columnBody`'s `overflow-y: auto` would never engage. */
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
height: 100%;
|
flex: 1;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user