diff --git a/www/packages/docs-ui/src/components/Search/index.tsx b/www/packages/docs-ui/src/components/Search/index.tsx index 53752be6cf..52ce5e26f2 100644 --- a/www/packages/docs-ui/src/components/Search/index.tsx +++ b/www/packages/docs-ui/src/components/Search/index.tsx @@ -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"