mirror of
https://github.com/taskgenius/taskgenius-plugin.git
synced 2026-07-22 06:40:25 +00:00
style: improve CSS formatting and remove redundant type annotations
- Fix CSS indentation in fluent-main.css for better readability - Add .bases-view selector for kanban filters hiding - Remove explicit boolean type annotations in ProjectList - Update compiled styles.css These are non-functional formatting improvements and style consistency updates that improve code readability without changing behavior.
This commit is contained in:
parent
11a8d5a071
commit
75162619d6
3 changed files with 8 additions and 6 deletions
|
|
@ -49,7 +49,7 @@ export class ProjectList extends Component {
|
|||
private readonly STORAGE_KEY = "task-genius-project-sort";
|
||||
private readonly EXPANDED_KEY = "task-genius-project-expanded";
|
||||
private collator: Intl.Collator;
|
||||
private isTreeView: boolean = false;
|
||||
private isTreeView = false;
|
||||
private expandedNodes: Set<string> = new Set();
|
||||
private treeNodes: ProjectTreeNode[] = [];
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ export class ProjectList extends Component {
|
|||
containerEl: HTMLElement,
|
||||
plugin: TaskProgressBarPlugin,
|
||||
onProjectSelect: (projectId: string) => void,
|
||||
isTreeView: boolean = false
|
||||
isTreeView = false
|
||||
) {
|
||||
super();
|
||||
this.containerEl = containerEl;
|
||||
|
|
|
|||
|
|
@ -357,7 +357,7 @@
|
|||
}
|
||||
|
||||
.fluent-project-list.is-tree-view
|
||||
.fluent-project-item[data-level]:not([data-level="0"]):hover::before {
|
||||
.fluent-project-item[data-level]:not([data-level="0"]):hover::before {
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
|
|
@ -531,6 +531,7 @@
|
|||
overflow: auto;
|
||||
}
|
||||
|
||||
.bases-view .tg-kanban-filters,
|
||||
.tg-fluent-content .content-header,
|
||||
.tg-fluent-content .tg-kanban-filters {
|
||||
display: none;
|
||||
|
|
@ -814,8 +815,8 @@
|
|||
|
||||
/* Hide sidebar toggle on desktop when in mobile drawer mode */
|
||||
.tg-fluent-sidebar-container.is-mobile-drawer
|
||||
~ .tg-fluent-main-container
|
||||
.sidebar-toggle {
|
||||
~ .tg-fluent-main-container
|
||||
.sidebar-toggle {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue