Skip to content

Commit 5e1a358

Browse files
committed
docs(mdx-components): remove unnecessary styles from pre
1 parent 5d812d9 commit 5e1a358

File tree

1 file changed

+1
-5
lines changed
  • apps/website/src/components/mdx-components

1 file changed

+1
-5
lines changed

apps/website/src/components/mdx-components/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,7 @@ export const components: Record<string, Component> = {
116116
}>(({ __rawString__ }) => {
117117
return (
118118
<div class="code-example relative mb-6 max-h-[31.25rem] rounded-base">
119-
<CodeCopy
120-
class="absolute right-3 top-3 text-white hover:text-white"
121-
code={__rawString__}
122-
/>
119+
<CodeCopy class="absolute right-3 top-3" code={__rawString__} />
123120
<div
124121
class={cn(
125122
'max-h-[31.25rem] max-w-full overflow-y-auto rounded-base border bg-gradient-to-b from-slate-900 to-slate-800 p-6 text-sm dark:from-background dark:to-accent/30',
@@ -132,7 +129,6 @@ export const components: Record<string, Component> = {
132129
</div>
133130
);
134131
}),
135-
136132
Accordion,
137133
AccordionItem,
138134
AccordionTrigger,

0 commit comments

Comments
 (0)