mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
feat(client): move toggle sidebar to tab bar on horizontal layout
This commit is contained in:
@@ -7,7 +7,7 @@ export default class LeftPaneToggleWidget extends CommandButtonWidget {
|
||||
constructor(isHorizontalLayout) {
|
||||
super();
|
||||
|
||||
this.class("launcher-button");
|
||||
this.class(isHorizontalLayout ? "toggle-button" : "launcher-button");
|
||||
|
||||
this.settings.icon = () => options.is('leftPaneVisible')
|
||||
? "bx-chevrons-left"
|
||||
|
||||
Reference in New Issue
Block a user