Skip to content

Commit 57d8666

Browse files
committed
docs: fix overlap between input and clear button in search
1 parent 1503ba9 commit 57d8666

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • www/packages/docs-ui/src/components/Search

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)