docs: fix overlap between input and clear button in search (#12949)

This commit is contained in:
Shahed Nasser
2025-07-14 15:41:11 +03:00
committed by GitHub
parent d5a2cfbc5a
commit b5548c3166

View File

@@ -80,7 +80,7 @@ export const Search = ({
),
form: clsx("h-full md:rounded-t-docs_xl bg-transparent"),
input: clsx(
"w-full h-full px-docs_1 py-docs_0.75 text-medusa-fg-base",
"w-[calc(100%-40px)] h-full px-docs_1 py-docs_0.75 text-medusa-fg-base",
"placeholder:text-medusa-fg-muted bg-medusa-bg-base",
"md:rounded-t-docs_xl text-compact-large sm:text-compact-medium",
"appearance-none search-cancel:hidden border-0 active:outline-none focus:outline-none"