Skip to content

AI-native design editor. Open-source Figma alternative.

fix(pages): match layer tree row density

Danila Poyarkova8be429cb3ff
diff --git a/src/theme/page-list.ts b/src/theme/page-list.ts
index 90f5a6a85..b1471766e 100644
--- a/src/theme/page-list.ts
+++ b/src/theme/page-list.ts
@@ -8,13 +8,13 @@ const pageListTheme = {
viewport: 'scrollbar-thin h-full overflow-x-hidden overflow-y-auto px-1 pb-1',
row: 'relative cursor-grab active:cursor-grabbing',
dropIndicator: 'pointer-events-none absolute inset-x-1 z-10 h-0.5 rounded-full bg-accent',
- renameRow: 'flex w-full items-center gap-1.5 rounded px-2 py-1.5',
+ renameRow: 'flex h-6 w-full items-center gap-1.5 rounded px-2',
icon: 'size-3 shrink-0 opacity-70',
renameInput:
'min-w-0 flex-1 rounded border border-accent bg-input px-1 py-0 text-[11px] text-surface outline-none',
divider: 'my-1 flex cursor-pointer items-center px-2',
dividerLine: 'h-px flex-1 bg-border',
- item: 'flex w-full cursor-pointer items-center gap-1.5 rounded border-none px-2 py-1.5 text-left text-[11px] outline-none focus-visible:ring-1 focus-visible:ring-panel-focus',
+ item: 'flex h-6 w-full cursor-pointer items-center gap-1.5 rounded border-none px-2 text-left text-[11px] outline-none focus-visible:ring-1 focus-visible:ring-panel-focus',
label: 'truncate'
},
variants: {