From 409ec0b62c52d0405c302f5440591a5e28529e49 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Sun, 28 Dec 2025 14:37:02 +0800 Subject: [PATCH] fix: update SearchButton styling --- src/components/SearchButton.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/SearchButton.tsx b/src/components/SearchButton.tsx index be68643..1ac196d 100644 --- a/src/components/SearchButton.tsx +++ b/src/components/SearchButton.tsx @@ -1,6 +1,7 @@ "use client" import { useCommand } from "@/hooks/use-command" +import { cn } from "@/lib/utils" import { MagnifyingGlassIcon } from "@heroicons/react/20/solid" import { Button } from "./ui/button" @@ -8,11 +9,15 @@ import { Button } from "./ui/button" export function SearchButton() { const { openCommand } = useCommand() + const customBackgroundImage = (window.CustomBackgroundImage as string) !== "" ? window.CustomBackgroundImage : undefined + return (