Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Margin increases incrementally every time tooltip is opened by the user, Only affects Icons in the BottomSheet #3210

Open
Daniel-Cross opened this issue Mar 10, 2025 · 2 comments
Assignees

Comments

@Daniel-Cross
Copy link

When a user opens the tooltip component and an icon exists on the BottomSheet, the icons incrementally move to the right every time the tooltip is open, breaking the layout in the BottomSheet.

@Daniel-Cross Daniel-Cross self-assigned this Mar 10, 2025
@Daniel-Cross
Copy link
Author

Screen.Recording.2025-03-07.at.16.15.32.mov

@Daniel-Cross
Copy link
Author

The margin in this component is what is causing the issue:

https://github.com/MetaMask/metamask-mobile/blob/main/app/components/Snaps/SnapUILink/SnapUILink.tsx#L40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant