mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-23 07:17:36 +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',
|
||||
)}
|
||||
>
|
||||
<div className="space-y-0.5 pr-1">
|
||||
<div className="space-y-0.5 pr-3">
|
||||
<FolderTreeItem
|
||||
key={rootFolderId}
|
||||
teamId={teamId}
|
||||
@@ -575,7 +575,7 @@ export function FolderTree({
|
||||
: '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
|
||||
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={() =>
|
||||
@@ -711,7 +711,7 @@ export function FolderTree({
|
||||
: '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
|
||||
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={() =>
|
||||
|
||||
Reference in New Issue
Block a user