docs: small design fixes (#11243)
This commit is contained in:
1 parent
18f7b71b1b
commit
105e73b523
2 files changed
+3
-1
No files matched your search
@@ -33,7 +33,7 @@ export const SearchInput = ({
|
|||||||
type="text"
|
type="text"
|
||||||
placeholder={placeholder}
|
placeholder={placeholder}
|
||||||
className={clsx(
|
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",
|
"bg-medusa-bg-field text-medusa-fg-base rounded-full",
|
||||||
"shadow-borders-base hover:bg-medusa-bg-field-hover",
|
"shadow-borders-base hover:bg-medusa-bg-field-hover",
|
||||||
"focus:bg-medusa-bg-field focus:shadow-borders-interactive-with-active focus:outline-none",
|
"focus:bg-medusa-bg-field focus:shadow-borders-interactive-with-active focus:outline-none",
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ import {
|
|||||||
H2,
|
H2,
|
||||||
H3,
|
H3,
|
||||||
H4,
|
H4,
|
||||||
|
Link,
|
||||||
} from "@/components"
|
} from "@/components"
|
||||||
import clsx from "clsx"
|
import clsx from "clsx"
|
||||||
import { Text } from "@medusajs/ui"
|
import { Text } from "@medusajs/ui"
|
||||||
@@ -119,6 +120,7 @@ export const MDXComponents: MDXComponentsType = {
|
|||||||
const { key, ...rest } = props
|
const { key, ...rest } = props
|
||||||
return <ZoomImg {...rest} />
|
return <ZoomImg {...rest} />
|
||||||
},
|
},
|
||||||
|
a: Link,
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Hr = MDXComponents["hr"] as () => React.JSX.Element
|
export const Hr = MDXComponents["hr"] as () => React.JSX.Element
|
||||||
Reference in new issue
Block a user