From 267c9aabe1c572f683ec6da0ee11cd943a1798d9 Mon Sep 17 00:00:00 2001 From: "mr. m" <91018726+mr-cheffy@users.noreply.github.com> Date: Fri, 11 Sep 2026 09:37:47 +0200 Subject: [PATCH] gh-15353: Prevent popups from being too rounded on linux (gh-15354) --- src/zen/common/styles/zen-panel-ui.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/zen/common/styles/zen-panel-ui.css b/src/zen/common/styles/zen-panel-ui.css index e3c92bd85..d9775692c 100644 --- a/src/zen/common/styles/zen-panel-ui.css +++ b/src/zen/common/styles/zen-panel-ui.css @@ -30,6 +30,13 @@ panel[type="arrow"]:not(#feature-callout) { } } + @media (-moz-platform: linux) or ((-moz-platform: windows) and (not (-moz-windows-mica-popups))) { + &::part(content) { + corner-shape: round; + border-radius: calc(var(--panel-border-radius) / var(--zen-squircle-value)); + } + } + @media (-moz-platform: macos) { &:is([nonnative], :not([type="arrow"])) { appearance: auto !important;