mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 19:19:03 +01:00
feat(views/board): make scrollable
This commit is contained in:
parent
2a25cd8686
commit
3e7dc71995
@ -5,10 +5,9 @@ const TPL = /*html*/`
|
|||||||
<div class="board-view">
|
<div class="board-view">
|
||||||
<style>
|
<style>
|
||||||
.board-view {
|
.board-view {
|
||||||
overflow: hidden;
|
overflow-x: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 1em;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -16,10 +15,12 @@ const TPL = /*html*/`
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1.5em;
|
gap: 1.5em;
|
||||||
|
padding: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.board-view-container .board-column {
|
.board-view-container .board-column {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.board-view-container .board-column h3 {
|
.board-view-container .board-column h3 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user