diff --git a/packages/app-store/_components/AppCard.tsx b/packages/app-store/_components/AppCard.tsx index 89e340c942..21059557f5 100644 --- a/packages/app-store/_components/AppCard.tsx +++ b/packages/app-store/_components/AppCard.tsx @@ -26,35 +26,42 @@ export default function AppCard({ const [animationRef] = useAutoAnimate(); return ( -
-
- {/* Don't know why but w-[42px] isn't working, started happening when I started using next/dynamic */} - - - {app?.name} - - -
- {app?.name} -

{description || app?.description}

-
- {app?.isInstalled ? ( -
- { - if (switchOnClick) { - switchOnClick(enabled); - } - setAppData("enabled", enabled); - }} - checked={switchChecked} - /> +
+
+
+ {/* Don't know why but w-[42px] isn't working, started happening when I started using next/dynamic */} + + + {app?.name} + + +
+ {app?.name} +

+ {description || app?.description} +

- ) : ( - - )} + {app?.isInstalled ? ( +
+ { + if (switchOnClick) { + switchOnClick(enabled); + } + setAppData("enabled", enabled); + }} + checked={switchChecked} + /> +
+ ) : ( + + )} +
+
+
+ {app?.isInstalled && switchChecked &&
} + {app?.isInstalled && switchChecked ?
{children}
: null}
- {app?.isInstalled && switchChecked ?
{children}
: null}
); } diff --git a/packages/ui/v2/core/navigation/tabs/VerticalTabItem.tsx b/packages/ui/v2/core/navigation/tabs/VerticalTabItem.tsx index 8414dd4adf..6824f0d48a 100644 --- a/packages/ui/v2/core/navigation/tabs/VerticalTabItem.tsx +++ b/packages/ui/v2/core/navigation/tabs/VerticalTabItem.tsx @@ -47,7 +47,7 @@ const VerticalTabItem = function ({ target={props.isExternalLink ? "_blank" : "_self"} className={classNames( props.textClassNames || "text-sm font-medium leading-none text-gray-600", - "min-h-9 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", + "min-h-9 group flex w-64 flex-row 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-6" : "h-14", @@ -56,9 +56,9 @@ const VerticalTabItem = function ({ data-testid={`vertical-tab-${name}`} aria-current={isCurrent ? "page" : undefined}> {props.icon && } -
+
- + {t(name)} {props.isExternalLink ? : null}