fix: update styles in Sidebar and SessionSidebar components

This commit is contained in:
Bohdan Triapitsyn
2025-12-07 20:46:40 +02:00
parent 3f59021555
commit cac0cc9c67
2 changed files with 4 additions and 4 deletions
@@ -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>