mirror of
https://github.com/taskgenius/taskgenius-plugin.git
synced 2026-07-22 06:40:25 +00:00
fix(fluent): remove auto-expand behavior from responsive sidebar
Only auto-collapse sidebar when width ≤ 600px to prevent unwanted automatic expansion. Also update view icon to use task-genius icon instead of layout-dashboard.
This commit is contained in:
parent
d5f27b7205
commit
9e3e95d2fd
2 changed files with 1 additions and 7 deletions
|
|
@ -241,12 +241,6 @@ export class FluentLayoutManager extends Component {
|
|||
!this.isSidebarCollapsed
|
||||
) {
|
||||
this.toggleSidebar();
|
||||
} else if (
|
||||
width > 600 &&
|
||||
width !== 0 &&
|
||||
this.isSidebarCollapsed
|
||||
) {
|
||||
this.toggleSidebar();
|
||||
}
|
||||
},
|
||||
),
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ export class FluentTaskView extends ItemView {
|
|||
}
|
||||
|
||||
getIcon(): string {
|
||||
return "layout-dashboard";
|
||||
return "task-genius";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue