Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Fix tooltip code element wrapping (#3149)

Tim Wilsonad5445cd3ff5
diff --git a/packages/ui/src/tooltip.tsx b/packages/ui/src/tooltip.tsx
index f8db48555f..cd7d49f60e 100644
--- a/packages/ui/src/tooltip.tsx
+++ b/packages/ui/src/tooltip.tsx
@@ -30,6 +30,7 @@ const TooltipMarkdown = ({
className={cn(
"prose prose-sm prose-neutral max-w-xs text-pretty px-4 py-2 text-center leading-snug transition-all",
"prose-a:cursor-alias prose-a:underline prose-a:decoration-dotted prose-a:underline-offset-2",
+ "prose-code:inline-block prose-code:leading-none",
PROSE_STYLES.condensed,
className,
)}