mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
bit better right pane layout
This commit is contained in:
@@ -46,7 +46,9 @@ export default class FlexContainer extends BasicWidget {
|
||||
this.$widget = $(`<div>`);
|
||||
|
||||
if (this.cssEl) {
|
||||
this.$widget.append($(`<style>`).append(this.cssEl));
|
||||
const css = this.cssEl.trim().startsWith('<style>') ? this.cssEl : `<style>${this.cssEl}</style>`;
|
||||
|
||||
this.$widget.append(css);
|
||||
}
|
||||
|
||||
for (const key in this.attrs) {
|
||||
|
||||
Reference in New Issue
Block a user