gh-15353: Prevent popups from being too rounded on linux (gh-15354)

This commit is contained in:
mr. m
2026-09-11 09:37:47 +02:00
committed by GitHub
parent d54e12359c
commit 267c9aabe1

View File

@@ -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;