-
Notifications
You must be signed in to change notification settings - Fork 964
Remove border radius from brave extension popup windows #626
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
Conversation
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.
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.
LGTM.
If we want to set radius, I think BubbleBorder's background paint overriding would be an option.
Tested and works as described, merging since it's a definite improvement over the ugly bar at the top which pushes down the content as it is now. Pls file a follow up issue in 1.x backlog to re-add border radius if you haven't yet, probably with Simon's suggestion. |
Remove border radius from brave extension popup windows
Remove border radius from brave extension popup windows
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.
Change looks good- tested and it works well 😄
Adds info to the issue template that this repo is for upcoming version of Brave
Fix brave/brave-browser#1028
This is unfortunate in two ways:
Submitter Checklist:
npm test brave_unit_tests && npm test brave_browser_tests
) ongit rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist: