1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-09 04:05:29 +02:00

Fixed unfocusing the browser with widget.gtk.rounded-bottom-corners.enabled causes the bottom corners to stop being rounded (closes https://github.com/zen-browser/desktop/issues/4294)

This commit is contained in:
mr. M 2025-01-12 14:14:53 +01:00
parent dff60ee6ef
commit e4103c9d4a
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB

View file

@ -1,8 +1,8 @@
diff --git a/browser/themes/linux/browser.css b/browser/themes/linux/browser.css
index a9276a678f16a67e2a003474203c37cb5c9300ad..892c69950d2a695b890fec9f8ea3f6e64032fe25 100644
index a9276a678f16a67e2a003474203c37cb5c9300ad..20cb1b022f7a94ad553f5e6df48014ee646f93ed 100644
--- a/browser/themes/linux/browser.css
+++ b/browser/themes/linux/browser.css
@@ -42,15 +42,17 @@
@@ -42,21 +42,25 @@
-moz-default-appearance: -moz-window-decorations;
appearance: auto;
@ -23,3 +23,12 @@ index a9276a678f16a67e2a003474203c37cb5c9300ad..892c69950d2a695b890fec9f8ea3f6e6
/* The body clip below covers this. */
border-radius: 0;
}
body,
- dialog::backdrop {
+ dialog::backdrop,
+ #browser::after,
+ #browser::before {
/* Use an uniform clip to allow WebRender to optimize it better */
border-radius: env(-moz-gtk-csd-titlebar-radius);
}