diff --git a/beszel/site/src/components/routes/system.tsx b/beszel/site/src/components/routes/system.tsx index 84a0891..1934fcb 100644 --- a/beszel/site/src/components/routes/system.tsx +++ b/beszel/site/src/components/routes/system.tsx @@ -656,8 +656,14 @@ function ChartCard({ {description} {cornerEl &&
{cornerEl}
} -
- {} +
+ { + + } {isIntersecting && children}
diff --git a/beszel/site/src/components/spinner.tsx b/beszel/site/src/components/spinner.tsx index b19ec66..59f6b21 100644 --- a/beszel/site/src/components/spinner.tsx +++ b/beszel/site/src/components/spinner.tsx @@ -1,8 +1,9 @@ +import { cn } from "@/lib/utils" import { LoaderCircleIcon } from "lucide-react" -export default function ({ msg }: { msg?: string }) { +export default function ({ msg, className }: { msg?: string; className?: string }) { return ( -
+
{msg ? (

{msg}

) : (