generated from MetaMask/metamask-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
There are certain scam links being advertised on Facebook, I recently reported 2 of them.
However, these ads have very long URLs, this causes a visual bug on the Metamask warning page after they are blocked.
For example, try visiting this blocked site using the Metamask extension:
The link shows a blank page, like this one:
The fix is adding this CSS to the .content__body class, so the text content in the URL doesn't expand the <div> tag, breaking the site's markup:
overflow: hidden;
max-width: 100%;
The file that needs to be modified seems to be this one (index.css):
phishing-warning/static/index.css
Line 148 in 47b4091
| .content__body { |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
