diff --git a/surfsense_web/components/layout/ui/sidebar/InboxSidebar.tsx b/surfsense_web/components/layout/ui/sidebar/InboxSidebar.tsx index 569d98176..f888c5299 100644 --- a/surfsense_web/components/layout/ui/sidebar/InboxSidebar.tsx +++ b/surfsense_web/components/layout/ui/sidebar/InboxSidebar.tsx @@ -43,7 +43,7 @@ import { import { Input } from "@/components/ui/input"; import { Skeleton } from "@/components/ui/skeleton"; import { Spinner } from "@/components/ui/spinner"; -import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs"; +import { Tabs, TabsList, TabsTrigger } from "@/components/ui/animated-tabs"; import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip"; import { getConnectorIcon } from "@/contracts/enums/connectorIcons"; import { @@ -851,14 +851,11 @@ export function InboxSidebar({ setActiveFilter("all"); } }} - className="shrink-0 mx-4" + className="shrink-0 mx-4 mt-2" > - - - + + + {t("comments") || "Comments"} @@ -866,11 +863,8 @@ export function InboxSidebar({ - - + + {t("status") || "Status"} @@ -885,9 +879,9 @@ export function InboxSidebar({ {isLoading ? (
{activeTab === "comments" - ? [85, 60, 90, 70, 50, 75].map((titleWidth, i) => ( + ? [85, 60, 90, 70, 50, 75].map((titleWidth) => (
@@ -898,9 +892,9 @@ export function InboxSidebar({
)) - : [75, 90, 55, 80, 65, 85].map((titleWidth, i) => ( + : [75, 90, 55, 80, 65, 85].map((titleWidth) => (
@@ -1003,9 +997,9 @@ export function InboxSidebar({ )} {activeSource.loadingMore && (activeTab === "comments" - ? [80, 60, 90].map((titleWidth, i) => ( + ? [80, 60, 90].map((titleWidth) => (
@@ -1016,9 +1010,9 @@ export function InboxSidebar({
)) - : [70, 85, 55].map((titleWidth, i) => ( + : [70, 85, 55].map((titleWidth) => (
diff --git a/surfsense_web/components/ui/animated-tabs.tsx b/surfsense_web/components/ui/animated-tabs.tsx index 980c3da34..43ae82121 100644 --- a/surfsense_web/components/ui/animated-tabs.tsx +++ b/surfsense_web/components/ui/animated-tabs.tsx @@ -49,9 +49,9 @@ const VARIANT_CLASSES = { } as const; const ACTIVE_INDICATOR_CLASSES = { - default: "h-[4px] bg-primary dark:bg-primary", + default: "h-[2px] bg-primary dark:bg-primary", pills: "hidden", - underlined: "h-[4px] bg-primary dark:bg-primary", + underlined: "h-[2px] bg-primary dark:bg-primary", } as const; const HOVER_INDICATOR_CLASSES = {