richard pushed to branch mullvad-browser-115.7.0esr-13.5-1 at The Tor Project / Applications / Mullvad Browser
Commits:
-
21866d39
by hackademix at 2024-02-08T14:48:08+00:00
2 changed files:
Changes:
... | ... | @@ -159,6 +159,7 @@ body { |
159 | 159 | --letterboxing-gradient-color1: var(--letterboxing-bgcolor);
|
160 | 160 | --letterboxing-gradient-color2: color-mix(in srgb, var(--chrome-content-separator-color) 50%, var(--letterboxing-bgcolor));
|
161 | 161 | --letterboxing-border-color: var(--letterboxing-bgcolor);
|
162 | + --letterboxing-decorator-visibility: visible;
|
|
162 | 163 | }
|
163 | 164 | |
164 | 165 | .letterboxing.letterboxing-vcenter .browserContainer:not(.responsive-mode) > .browserStack:not(.exclude-letterboxing) {
|
... | ... | @@ -174,7 +175,7 @@ body { |
174 | 175 | > .browserStack:not(.exclude-letterboxing)
|
175 | 176 | > .browserDecorator {
|
176 | 177 | display: initial;
|
177 | - visibility: visible;
|
|
178 | + visibility: var(--letterboxing-decorator-visibility);
|
|
178 | 179 | border-radius: var(--letterboxing-border-radius);
|
179 | 180 | border-top-left-radius: var(--letterboxing-border-top-radius);
|
180 | 181 | border-top-right-radius: var(--letterboxing-border-top-radius);
|
... | ... | @@ -684,6 +684,7 @@ class _RFPHelper { |
684 | 684 | borderRadius = "";
|
685 | 685 | }
|
686 | 686 | styleChanges.queueIfNeeded(browserParent, {
|
687 | + "--letterboxing-decorator-visibility": borderRadius === 0 ? "hidden" : "",
|
|
687 | 688 | '--letterboxing-border-radius': borderRadius
|
688 | 689 | });
|
689 | 690 | }
|