-
Notifications
You must be signed in to change notification settings - Fork 408
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
fix: prevent scrollbars on Safe App icons #1565
Conversation
Branch preview✅ Deploy successful! https://safe_app_icon_scrollbars--webcore.review-web-core.5afe.dev |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
@@ -4,7 +4,7 @@ const APP_LOGO_FALLBACK_IMAGE = `/images/apps/app-placeholder.svg` | |||
|
|||
const getIframeContent = (url: string, width: number, height: number): string => { | |||
return ` | |||
<body style="margin: 0;"> | |||
<body style="margin: 0; overflow: hidden;"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mikhailxyz display block on the image would probably make this fix unnecessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
absolutely insane stuff
Tested, no scrollbars! ✅ |
What it solves
Resolves #1564
How this PR fixes it
The
overflow
of theSafeAppIcon
is nothidden
.How to test it
Open the Safe Apps page and observe no scrollbars on icons.
Screenshots