Skip to content

Commit b5548c3

Browse files
authored
docs: fix overlap between input and clear button in search (#12949)
1 parent d5a2cfb commit b5548c3

File tree

1 file changed

+1
-1
lines changed
  • www/packages/docs-ui/src/components/Search

1 file changed

+1
-1
lines changed

www/packages/docs-ui/src/components/Search/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const Search = ({
8080
),
8181
form: clsx("h-full md:rounded-t-docs_xl bg-transparent"),
8282
input: clsx(
83-
"w-full h-full px-docs_1 py-docs_0.75 text-medusa-fg-base",
83+
"w-[calc(100%-40px)] h-full px-docs_1 py-docs_0.75 text-medusa-fg-base",
8484
"placeholder:text-medusa-fg-muted bg-medusa-bg-base",
8585
"md:rounded-t-docs_xl text-compact-large sm:text-compact-medium",
8686
"appearance-none search-cancel:hidden border-0 active:outline-none focus:outline-none"

0 commit comments

Comments
 (0)