Skip to content

Commit 88baac2

Browse files
committed
Improved the side menu project styling
1 parent df664ad commit 88baac2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

apps/webapp/app/components/navigation/SideMenu.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ function SideMenuItem({
408408
className={cn(
409409
"text-bright group-hover:bg-slate-850",
410410
subItem ? "text-dimmed" : "",
411+
secondaryAction && "pr-1",
411412
isActive ? "bg-slate-850 text-bright" : "group-hover:text-bright"
412413
)}
413414
>
@@ -419,8 +420,8 @@ function SideMenuItem({
419420
<LinkButton
420421
variant="tertiary/small"
421422
LeadingIcon={secondaryAction.icon}
422-
leadingIconClassName="group-hover:text-bright text-bright"
423-
className="h-5 px-[3px] text-dimmed group-hover:bg-background hover:!bg-slate-750 hover:text-bright"
423+
leadingIconClassName="group-hover:text-bright text-dimmed transition"
424+
className="mt-0.5 h-5 px-[3px] group-hover:bg-background hover:!bg-slate-750"
424425
to={secondaryAction.to}
425426
/>
426427
)}

0 commit comments

Comments
 (0)