diff --git a/packages/ui/v2/core/layouts/SettingsLayout.tsx b/packages/ui/v2/core/layouts/SettingsLayout.tsx index 6c2749cb6c..1f2f2d36c0 100644 --- a/packages/ui/v2/core/layouts/SettingsLayout.tsx +++ b/packages/ui/v2/core/layouts/SettingsLayout.tsx @@ -120,31 +120,33 @@ const SettingsSidebarContainer = ({ className = "" }) => {
{tabsWithPermissions.map((tab) => { return tab.name !== "teams" ? ( -
-
+
+
{tab && tab.icon && ( - + )} -

{t(tab.name)}

+

{t(tab.name)}

-
- {tab.children?.map((child) => ( +
+ {tab.children?.map((child, index) => ( ))} @@ -152,12 +154,12 @@ const SettingsSidebarContainer = ({ className = "" }) => { ) : ( -
-
+
+
{tab && tab.icon && ( - + )} -

{t(tab.name)}

+

{t(tab.name)}

{teams && teamMenuState && @@ -197,7 +199,7 @@ const SettingsSidebarContainer = ({ className = "" }) => {
{team.name

{team.name}

diff --git a/packages/ui/v2/core/navigation/tabs/VerticalTabItem.tsx b/packages/ui/v2/core/navigation/tabs/VerticalTabItem.tsx index 16cd2eaea9..7c5e0b9466 100644 --- a/packages/ui/v2/core/navigation/tabs/VerticalTabItem.tsx +++ b/packages/ui/v2/core/navigation/tabs/VerticalTabItem.tsx @@ -50,14 +50,12 @@ const VerticalTabItem = function ({ "group flex w-64 flex-row items-center rounded-md px-3 py-[10px] hover:bg-gray-100 group-hover:text-gray-700 [&[aria-current='page']]:bg-gray-200 [&[aria-current='page']]:text-gray-900", props.disabled && "pointer-events-none !opacity-30", (isChild || !props.icon) && "ml-7 mr-5 w-auto", - !info ? "h-9" : "h-14", + !info ? "h-6" : "h-14", props.className )} data-testid={`vertical-tab-${name}`} aria-current={isCurrent ? "page" : undefined}> - {props.icon && ( - - )} + {props.icon && }
{t(name)}