-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Extension popups have a white strip at the top and bottom #1028
Comments
This is not an issue on Linux. Its definitely an issue on Windows. @liunkae the screenshots you posted is it from macOS ? |
@srirambv Yes, macOS 10.13. |
The extra padding when showing blocked items is tracked here #771 |
I think this is a chromium bug that is now fixed. We should check against latest chromium rebase https://bugs.chromium.org/p/chromium/issues/detail?id=849802 |
This was fixed with a revert in chromium https://chromium.googlesource.com/chromium/src.git/+/ba30493edf9b0417de03cae95f6da4815e4c3ec8%5E%21/#F1 which I confirm I have locally, but issue still persists 🤷♂️ Will investigate further |
This is actually sort of by-design in Chromium, and like this in the current version. I believe it's due to not being able to support rounded corners on web content in Windows and macOS. The border radius was reduced as to not make it so apparent, but it's still an eyesore IMO. We should consider removing border radius entirely if the fix is too difficult. |
This issue will impact shields style update #1339 |
Fix brave/brave-browser#1028 This is unfortunate in two ways: 1. It's an ugly patch. ExtensionPopup is both instantiated on its own (macOS) and as a parent class of ExtensionPopupAura. I believe attempting to create a BraveExtensionPopup that both replaces ExtensionPopup and the parent class of ExtensionPopupAura would lead to a larger web of patches, but happy to be shown otherwise. 2. It fixes the issue of the white strips by removing the border radius entirely. The much preferred option is to support the native window radius clipping the webview, but chromium does not yet support this.
Description
There is a white strip at the top of popups for extensions (including the Brave shields panel extension).
Steps to Reproduce
Actual result:
Also occurs with third-party extensions like Bitwarden:
Expected result:
There should not be a white strip.
Reproduces how often:
Always.
Brave version (about:brave info)
Version 0.55.1 Chromium: 70.0.3528.4 (Official Build) dev (64-bit)
Reproducible on current release:
No.
The text was updated successfully, but these errors were encountered: