mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
removed CSS contain from widgets
This commit is contained in:
@@ -19,7 +19,6 @@ export default class ButtonWidget extends NoteContextAwareWidget {
|
||||
|
||||
doRender() {
|
||||
this.$widget = $(TPL);
|
||||
this.overflowing();
|
||||
|
||||
if (this.settings.onClick) {
|
||||
this.$widget.on("click", () => this.settings.onClick(this));
|
||||
|
||||
@@ -76,7 +76,6 @@ const TPL = `
|
||||
export default class GlobalMenuWidget extends BasicWidget {
|
||||
doRender() {
|
||||
this.$widget = $(TPL);
|
||||
this.overflowing();
|
||||
|
||||
this.$widget.find(".show-about-dialog-button").on('click',
|
||||
() => import("../../dialogs/about.js").then(d => d.showDialog()));
|
||||
|
||||
@@ -32,7 +32,6 @@ const TPL = `
|
||||
export default class NoteActionsWidget extends NoteContextAwareWidget {
|
||||
doRender() {
|
||||
this.$widget = $(TPL);
|
||||
this.overflowing();
|
||||
|
||||
this.$showSourceButton = this.$widget.find('.show-source-button');
|
||||
this.$renderNoteButton = this.$widget.find('.render-note-button');
|
||||
|
||||
Reference in New Issue
Block a user