Skip to content

Commit 8322189

Browse files
committed
fix(webapp): pad the debug tooltip so the copy button isn't clipped
The copy button is absolutely positioned to the right of each value (`-right-6`), which pushed it past the popover's right edge where `overflow-y-auto` clipped it. Add right padding so it always shows.
1 parent b512b3f commit 8322189

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/webapp/app/components/admin/debugTooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function AdminDebugTooltip({ children }: { children?: React.ReactNode })
2626
<TooltipTrigger>
2727
<ShieldCheckIcon className="size-5" />
2828
</TooltipTrigger>
29-
<TooltipContent className="max-h-[90vh] overflow-y-auto">
29+
<TooltipContent className="max-h-[90vh] overflow-y-auto pr-8">
3030
<Content>{children}</Content>
3131
</TooltipContent>
3232
</Tooltip>

0 commit comments

Comments
 (0)