Просмотр исходного кода

fix(app): set filetree padding to 6px

David Hill 3 недель назад
Родитель
Сommit
00c7729658
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/components/file-tree.tsx

+ 1 - 1
packages/app/src/components/file-tree.tsx

@@ -148,7 +148,7 @@ export default function FileTree(props: {
       <Dynamic
         component={local.as ?? "div"}
         classList={{
-          "w-full min-w-0 h-6 flex items-center justify-start gap-x-1.5 rounded-md px-[7px] py-0 text-left hover:bg-surface-raised-base-hover active:bg-surface-base-active transition-colors cursor-pointer": true,
+          "w-full min-w-0 h-6 flex items-center justify-start gap-x-1.5 rounded-md px-1.5 py-0 text-left hover:bg-surface-raised-base-hover active:bg-surface-base-active transition-colors cursor-pointer": true,
           ...(local.classList ?? {}),
           [local.class ?? ""]: !!local.class,
           [props.nodeClass ?? ""]: !!props.nodeClass,