fix: update styles in Sidebar and SessionSidebar components
This commit is contained in:
@@ -176,8 +176,8 @@ export const Sidebar: React.FC<SidebarProps> = ({ isOpen, isMobile, children })
|
|||||||
onClick={() => setSettingsDialogOpen(true)}
|
onClick={() => setSettingsDialogOpen(true)}
|
||||||
className={cn(
|
className={cn(
|
||||||
'flex items-center gap-2 rounded-md px-3 py-2',
|
'flex items-center gap-2 rounded-md px-3 py-2',
|
||||||
'text-sm text-muted-foreground',
|
'text-sm font-semibold text-muted-foreground',
|
||||||
'hover:bg-accent hover:text-accent-foreground',
|
'hover:text-foreground',
|
||||||
'transition-colors'
|
'transition-colors'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -940,7 +940,7 @@ export const SessionSidebar: React.FC<SessionSidebarProps> = ({ mobileVariant =
|
|||||||
!isDesktopRuntime && 'bg-sidebar/60',
|
!isDesktopRuntime && 'bg-sidebar/60',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<RiFolder6Line className="h-4 w-4" />
|
<RiFolder6Line className="h-[1.125rem] w-[1.125rem] translate-y-px" />
|
||||||
</span>
|
</span>
|
||||||
<div className="min-w-0 flex-1 overflow-hidden">
|
<div className="min-w-0 flex-1 overflow-hidden">
|
||||||
<p className="truncate whitespace-nowrap typography-ui font-semibold text-muted-foreground group-hover:text-foreground">
|
<p className="truncate whitespace-nowrap typography-ui font-semibold text-muted-foreground group-hover:text-foreground">
|
||||||
@@ -959,7 +959,7 @@ export const SessionSidebar: React.FC<SessionSidebarProps> = ({ mobileVariant =
|
|||||||
)}
|
)}
|
||||||
aria-label="Manage worktrees"
|
aria-label="Manage worktrees"
|
||||||
>
|
>
|
||||||
<RiGitRepositoryLine className="h-5 w-5" />
|
<RiGitRepositoryLine className="h-[1.125rem] w-[1.125rem] translate-y-px" />
|
||||||
</button>
|
</button>
|
||||||
) : null}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user