Skip to content

Commit 50a336a

Browse files
style(MdComponents): update border and background styles for Pre component
1 parent 32bc6c0 commit 50a336a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MdComponents/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const Heading4 = ({
9696

9797
export const Pre = (props: ChildOnlyProp) => (
9898
<pre
99-
className="max-w-full overflow-x-scroll whitespace-pre-wrap rounded border-[1px] border-[rgba(0,0,0,.05)] bg-[#f2f2f2] p-4 dark:border-[hsla(0,0%,100%,.05)] dark:bg-[#191919]"
99+
className="max-w-full overflow-x-scroll whitespace-pre-wrap rounded border bg-background-highlight p-4"
100100
{...props}
101101
/>
102102
)

0 commit comments

Comments
 (0)