Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

fix(frontend:files): adjust tree node height for consistency

johavena4a155feef95
diff --git a/frontend/src/app/applications/files/components/sidebar/files-tree.component.ts b/frontend/src/app/applications/files/components/sidebar/files-tree.component.ts
index ccb49f84..bb934275 100644
--- a/frontend/src/app/applications/files/components/sidebar/files-tree.component.ts
+++ b/frontend/src/app/applications/files/components/sidebar/files-tree.component.ts
@@ -60,7 +60,7 @@ export class FilesTreeComponent implements OnInit, OnDestroy {
animateExpand: false,
levelPadding: 10,
useVirtualScroll: false,
- nodeHeight: 38,
+ nodeHeight: 36,
dropSlotHeight: 0,
allowDrag: false,
allowDrop: false,
diff --git a/frontend/src/styles/components/_tree.scss b/frontend/src/styles/components/_tree.scss
index 43aef68d..a1056369 100644
--- a/frontend/src/styles/components/_tree.scss
+++ b/frontend/src/styles/components/_tree.scss
@@ -35,7 +35,7 @@
align-items: center;
justify-content: flex-start;
padding: 4px;
- height: 38px;
+ height: 36px;
line-height: 0;
width: 100%;