Skip to content

Commit

Permalink
Add overflow: hidden for rounded corners
Browse files Browse the repository at this point in the history
It breaks rounded corners on some web pages, but ultimately works better with translucency. See
artsyfriedchicken#56
  • Loading branch information
Loskir committed Sep 4, 2024
1 parent a4d9663 commit 34dc219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/global/browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
box-shadow: var(--uc-tweak-rounded-corners-shadow) !important;
background-color: var(--tabpanel-background-color) !important;
position: relative !important;

overflow: hidden !important;
/* Use pseudo element overlay to simulate rounded corners, similar to the
* tab corners, fixes bug with backdrop-filter. */
&::after {
Expand Down

0 comments on commit 34dc219

Please sign in to comment.