Skip to content

Commit cceed30

Browse files
committed
docs(button): fix highligth border and margin to copy btn
1 parent 820dd95 commit cceed30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/website/src/routes/docs/_components/code-copy/code-copy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const CodeCopy = component$(
1919
{...restOfProps}
2020
title={copied ? 'Copied to Clipboard' : 'Copy to Clipboard'}
2121
class={twMerge(
22-
`rounded p-3 hover:bg-slate-500/25`,
22+
`mt-2 rounded p-3 hover:bg-slate-500/25`,
2323
stringifyClassList(outsideClass),
2424
)}
2525
onClick$={async () => {

apps/website/src/routes/docs/_components/highlight/highlight.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const Highlight = component$(
3939
<div
4040
{...props}
4141
class={[
42-
'tab-size bg-background relative h-full max-w-full overflow-hidden overflow-x-auto p-12 text-sm dark:bg-slate-900',
42+
'tab-size bg-background relative h-full max-w-full overflow-hidden overflow-x-auto rounded-xl p-12 text-sm dark:bg-slate-900',
4343
props.class,
4444
]}
4545
>

0 commit comments

Comments
 (0)