mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 10:40:41 +01:00
refactoring of layout finished
This commit is contained in:
@@ -2,10 +2,13 @@ import options from "../services/options.js";
|
||||
import FlexContainer from "./flex_container.js";
|
||||
|
||||
export default class SidePaneContainer extends FlexContainer {
|
||||
constructor(parent, side, widgetFactories) {
|
||||
super(parent, {id: side + '-pane', 'flex-direction': 'column', 'height': '100%'}, widgetFactories);
|
||||
constructor(side) {
|
||||
super('column');
|
||||
|
||||
this.side = side;
|
||||
|
||||
this.id(side + '-pane');
|
||||
this.css('height', '100%');
|
||||
}
|
||||
|
||||
isEnabled() {
|
||||
|
||||
Reference in New Issue
Block a user