diff --git a/browser/themes/linux/browser.css b/browser/themes/linux/browser.css
index 5c9891e5ed4b865ed4ecc98d794a239b0f96a8f9..e13bf7277edeb49ebbb12cf9359ac6193bb47ebd 100644
--- a/browser/themes/linux/browser.css
+++ b/browser/themes/linux/browser.css
@@ -42,21 +42,25 @@
     -moz-default-appearance: -moz-window-decorations;
     appearance: auto;
 
-    #navigator-toolbox,
-    dialog::backdrop {
+    #zen-main-app-wrapper,
+    dialog::backdrop,
+    #browser::after,
+    #browser::before {
       border-top-left-radius: env(-moz-gtk-csd-titlebar-radius);
       border-top-right-radius: env(-moz-gtk-csd-titlebar-radius);
     }
 
     /* stylelint-disable-next-line media-query-no-invalid */
     @media -moz-pref("widget.gtk.rounded-bottom-corners.enabled") {
-      #navigator-toolbox {
+      #zen-main-app-wrapper {
         /* 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);
       }
