mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 17:25:52 +01:00
closing panes
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
import BasicWidget from "./basic_widget.js";
|
||||
|
||||
const TPL = `
|
||||
<div class="spacer">
|
||||
<style>
|
||||
.spacer {
|
||||
flex-grow: 1000;
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
`;
|
||||
const TPL = `<div class="spacer"></div>`;
|
||||
|
||||
export default class SpacerWidget extends BasicWidget {
|
||||
constructor(growIndex = 1000) {
|
||||
super();
|
||||
|
||||
this.growIndex = growIndex;
|
||||
}
|
||||
|
||||
doRender() {
|
||||
this.$widget = $(TPL);
|
||||
this.$widget.css("flex-grow", this.growIndex)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user