diff --git a/web/src/components/filter/CameraGroupSelector.tsx b/web/src/components/filter/CameraGroupSelector.tsx index d67fea65a..0b38bb713 100644 --- a/web/src/components/filter/CameraGroupSelector.tsx +++ b/web/src/components/filter/CameraGroupSelector.tsx @@ -59,6 +59,7 @@ import { Toaster } from "@/components/ui/sonner"; import { toast } from "sonner"; import ActivityIndicator from "../indicators/activity-indicator"; import { ScrollArea, ScrollBar } from "../ui/scroll-area"; +import { TooltipPortal } from "@radix-ui/react-tooltip"; type CameraGroupSelectorProps = { className?: string; @@ -137,9 +138,11 @@ export function CameraGroupSelector({ className }: CameraGroupSelectorProps) { - - All Cameras - + + + All Cameras + + {groups.map(([name, config]) => { return ( @@ -161,9 +164,11 @@ export function CameraGroupSelector({ className }: CameraGroupSelectorProps) { {getIconForGroup(config.icon)} - - {name} - + + + {name} + + ); })} diff --git a/web/src/components/menu/AccountSettings.tsx b/web/src/components/menu/AccountSettings.tsx index 72d05e81f..a5068c753 100644 --- a/web/src/components/menu/AccountSettings.tsx +++ b/web/src/components/menu/AccountSettings.tsx @@ -3,6 +3,7 @@ import { TooltipContent, TooltipTrigger, } from "@/components/ui/tooltip"; +import { TooltipPortal } from "@radix-ui/react-tooltip"; import { isDesktop } from "react-device-detect"; import { VscAccount } from "react-icons/vsc"; @@ -19,9 +20,11 @@ export default function AccountSettings({ className }: AccountSettingsProps) { - -

Account

-
+ + +

Account

+
+
); } diff --git a/web/src/components/menu/GeneralSettings.tsx b/web/src/components/menu/GeneralSettings.tsx index f868eddb5..6974c8075 100644 --- a/web/src/components/menu/GeneralSettings.tsx +++ b/web/src/components/menu/GeneralSettings.tsx @@ -65,6 +65,7 @@ import { DialogPortal, DialogTrigger, } from "../ui/dialog"; +import { TooltipPortal } from "@radix-ui/react-tooltip"; type GeneralSettingsProps = { className?: string; @@ -124,9 +125,11 @@ export default function GeneralSettings({ className }: GeneralSettingsProps) { - -

Settings

-
+ + +

Settings

+
+