Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Apply suggestions from code review
Papierkorb22924cd4c2f60734
diff --git a/apps/client/src/widgets/close_zen_button.ts b/apps/client/src/widgets/close_zen_button.tsindex e5842dc142..7ee4fcc28f 100644--- a/apps/client/src/widgets/close_zen_button.ts+++ b/apps/client/src/widgets/close_zen_button.ts@@ -29,7 +29,7 @@ const TPL = /*html*/`\-webkit-app-region: no-drag;}- body.zen .mobile-close-zen-container {+ body.zen.mobile .close-zen-container {top: -2px;}@@ -45,7 +45,6 @@ export default class CloseZenButton extends BasicWidget {doRender(): void {this.$widget = $(TPL);- this.$widget.toggleClass("mobile-close-zen-container", utils.isMobile())}zenChangedEvent() {