Added zen mode for mobile layout (useful on tablets)

This commit is contained in:
Papierkorb2292
2025-08-08 09:15:01 +02:00
parent 35b628e799
commit d975790e79
4 changed files with 16 additions and 3 deletions

View File

@@ -363,7 +363,6 @@ export default class GlobalMenuWidget extends BasicWidget {
this.$zoomState = this.$widget.find(".zoom-state");
this.$toggleZenMode = this.$widget.find('[data-trigger-command="toggleZenMode"');
this.$toggleZenMode.toggle(!utils.isMobile());
this.$widget.on("show.bs.dropdown", () => this.#onShown());
if (this.tooltip) {
this.$widget.on("hide.bs.dropdown", () => this.tooltip.enable());