Skip to content

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

style(frontend): adjust table row height and badge line-height for consistency

johaven968de1a7292a
diff --git a/frontend/src/app/common/components/virtual-scroll.component.ts b/frontend/src/app/common/components/virtual-scroll.component.ts
index 15488516..177ac633 100644
--- a/frontend/src/app/common/components/virtual-scroll.component.ts
+++ b/frontend/src/app/common/components/virtual-scroll.component.ts
@@ -56,7 +56,7 @@ export class VirtualScrollComponent<T> implements OnInit, OnChanges, OnDestroy {
@Input() resizeOffset = 139
@Input() galleryMode = false
@Input() items: T[] = []
- @Input() childHeight = 38
+ @Input() childHeight = 40
@Input() childWidth: number
@Input() bufferAmount = 0
protected viewPortItems: T[] = []
diff --git a/frontend/src/styles/components/_app.scss b/frontend/src/styles/components/_app.scss
index 438649a6..89e294ee 100755
--- a/frontend/src/styles/components/_app.scss
+++ b/frontend/src/styles/components/_app.scss
@@ -142,7 +142,7 @@
.app-table {
--app-table-cell-inline-padding: .5rem;
--app-table-leading-icon-gap: .3rem;
- --app-table-row-height: 38px;
+ --app-table-row-height: 40px;
@extend .table;
@include no-select-utility;
@@ -207,6 +207,7 @@
.badge {
max-width: 100%;
+ line-height: 1.2;
}
}