mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-04 23:24:21 +00:00
style(folders): fix selection highlight overlap by increasing padding
This commit is contained in:
@@ -475,7 +475,7 @@ export function FolderTree({
|
|||||||
: 'opacity-0 invisible pointer-events-none h-0',
|
: 'opacity-0 invisible pointer-events-none h-0',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="space-y-0.5 pr-1">
|
<div className="space-y-0.5 pr-3">
|
||||||
<FolderTreeItem
|
<FolderTreeItem
|
||||||
key={rootFolderId}
|
key={rootFolderId}
|
||||||
teamId={teamId}
|
teamId={teamId}
|
||||||
@@ -575,7 +575,7 @@ export function FolderTree({
|
|||||||
: 'opacity-0 invisible pointer-events-none h-0',
|
: 'opacity-0 invisible pointer-events-none h-0',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="space-y-0.5 pr-1">
|
<div className="space-y-0.5 pr-3">
|
||||||
<div
|
<div
|
||||||
className="group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground"
|
className="group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground"
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
@@ -711,7 +711,7 @@ export function FolderTree({
|
|||||||
: 'opacity-0 invisible pointer-events-none h-0',
|
: 'opacity-0 invisible pointer-events-none h-0',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="space-y-0.5 pr-1">
|
<div className="space-y-0.5 pr-3">
|
||||||
<div
|
<div
|
||||||
className="group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground"
|
className="group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground"
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
|
|||||||
Reference in New Issue
Block a user