docs: small design fixes (#11243)

This commit is contained in:
Shahed Nasser
2025-01-31 15:10:36 +02:00
committed by GitHub
parent 18f7b71b1b
commit 105e73b523
2 changed files with 3 additions and 1 deletions
@@ -33,7 +33,7 @@ export const SearchInput = ({
type="text"
placeholder={placeholder}
className={clsx(
"w-full h-docs_2 pl-docs_2 text-compact-small placeholder:text-medusa-fg-muted",
"w-full h-docs_2 pl-docs_2 text-base md:text-compact-small placeholder:text-medusa-fg-muted",
"bg-medusa-bg-field text-medusa-fg-base rounded-full",
"shadow-borders-base hover:bg-medusa-bg-field-hover",
"focus:bg-medusa-bg-field focus:shadow-borders-interactive-with-active focus:outline-none",
@@ -14,6 +14,7 @@ import {
H2,
H3,
H4,
Link,
} from "@/components"
import clsx from "clsx"
import { Text } from "@medusajs/ui"
@@ -119,6 +120,7 @@ export const MDXComponents: MDXComponentsType = {
const { key, ...rest } = props
return <ZoomImg {...rest} />
},
a: Link,
}
export const Hr = MDXComponents["hr"] as () => React.JSX.Element