fix(pages): match layer tree row density

This commit is contained in:
Danila Poyarkov 2026-09-10 19:49:36 +03:00
parent eb277dd2a9
commit a8be429cb3

View file

@ -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: {