Skip to content

Commit 0220239

Browse files
fix: fix alignmentof the chevron right also on the navigations
1 parent 2e5386a commit 0220239

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/sections/profile/Navigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default function ProfileNagivation(): ReactElement {
107107
<li key={`profile-menu-subItem-${k}`} className="text-sm relative text-primary">
108108
<Link href={item.link} className={`relative text-gray-500 ${isCurrentMenuItem(item) && "text-primary"}`}>
109109
{isCurrentMenuItem(item) && (
110-
<span className="inline-block absolute -left-6 nav-icon">
110+
<span className="!inline-block absolute -left-6 nav-icon">
111111
<ChevronRightIcon />
112112
</span>
113113
)}

src/components/ui/SideNavigation/_partials/Content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function NavItem({ item, isActive = false, expanded = false }: NavItemPro
3434
const { t } = useTranslation();
3535
return (
3636
<span>
37-
<span style={{ display: isActive ? "inline-block" : "none" }} className="absolute top-0 inline-block -left-6 nav-icon">
37+
<span style={{ display: isActive ? "!inline-block" : "none" }} className="absolute top-0 inline-block -left-6 nav-icon">
3838
<ChevronRightIcon className={`transition-transform duration-200 ${item.subitems && item.subitems.length && isActive && expanded ? "transform rotate-90" : ""}`} />
3939
</span>
4040
<span className="nav-label">{t(item.label)}</span>

0 commit comments

Comments
 (0)