Skip to content

Commit a294a3a

Browse files
authored
Changed Link Style
1 parent 715e9f2 commit a294a3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mdx-components.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const useMDXComponents = (components: MDXComponents): MDXComponents => ({
2323
h5: (props) => <h5 className="scroll-m-40 text-lg font-semibold tracking-tight" {...props} />,
2424
h6: (props) => <h6 className="scroll-m-40 text-sm font-semibold tracking-tight" {...props} />,
2525
p: (props) => <p className="leading-7 [&:not(:first-child)]:mt-4" {...props} />,
26-
a: (props) => <Link className={cn(buttonVariants({ variant: "link" }), "px-1 py-0 whitespace-normal text-base")} {...props} />,
26+
a: (props) => <Link className={cn(buttonVariants({ variant: "link" }), "px-0.5 py-0 whitespace-normal text-sm md:text-base")} {...props} />,
2727
blockquote: (props) => <Blockquote {...props}/>,
2828
small: (props) => <small className="text-sm font-medium leading-none" {...props} />,
2929
Kbd: Kbd,

0 commit comments

Comments
 (0)