mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-30 00:51:30 +08:00
fix(right_pane): buttons disappearing (force min width, closes #1419).
This commit is contained in:
parent
6acb490df4
commit
6c1f631ddb
@ -55,6 +55,7 @@ function setupRightPaneResizer() {
|
|||||||
rightInstance = Split(["#center-pane", "#right-pane"], {
|
rightInstance = Split(["#center-pane", "#right-pane"], {
|
||||||
sizes: [100 - rightPaneWidth, rightPaneWidth],
|
sizes: [100 - rightPaneWidth, rightPaneWidth],
|
||||||
gutterSize: 5,
|
gutterSize: 5,
|
||||||
|
minSize: [ 300, 180 ],
|
||||||
onDragEnd: (sizes) => options.save("rightPaneWidth", Math.round(sizes[1]))
|
onDragEnd: (sizes) => options.save("rightPaneWidth", Math.round(sizes[1]))
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user