Skip to content

increase Tooltip edge padding - #1666

Open
mayank99 wants to merge 1 commit into
mainfrom
mayank/tooltip-padding
Open

increase Tooltip edge padding#1666
mayank99 wants to merge 1 commit into
mainfrom
mayank/tooltip-padding

Conversation

@mayank99

Copy link
Copy Markdown
Collaborator

Changes

Follow-up to #1651 (comment).

This PR very slightly bumps the padding value passed to the flip and preventOverflow modifiers of the Tooltip.

This gives the Tooltip some extra breathing room visually and prevents it from physically touching the edge of the viewport/container.

Testing

For testing, I modified the code sample from #1651 and added a pink outline around the Tooltip's ::before pseudo-element to visualize its bounds.

Before After
screenshot screenshot

@mayank99 mayank99 self-assigned this Jul 29, 2026
@mayank99
mayank99 requested a review from a team as a code owner July 29, 2026 13:51
@mayank99
mayank99 requested review from FlyersPh9 and GerardasB and removed request for a team July 29, 2026 13:51
@mayank99 mayank99 mentioned this pull request Jul 29, 2026
Base automatically changed from mark/tooltip-overflow to main July 29, 2026 22:23
@mayank99
mayank99 force-pushed the mayank/tooltip-padding branch from 2606e2c to 4753b39 Compare July 29, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant