Skip to content

Commit f0a3abe

Browse files
committed
Include padding when asChild specified
1 parent 8725edf commit f0a3abe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/webapp/app/components/primitives/CopyableText.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export function CopyableText({
3737
<span
3838
className={cn(
3939
"ml-1 flex size-6 items-center justify-center rounded border border-charcoal-650 bg-charcoal-750",
40+
asChild && "p-1",
4041
copied
4142
? "text-green-500"
4243
: "text-text-dimmed hover:border-charcoal-600 hover:bg-charcoal-700 hover:text-text-bright"

0 commit comments

Comments
 (0)