commit 1076fa5e1afbbd0d31272c5bf0d0fe034f7e7a02 parent 7cdd12a7c320e8ae31c261e1af31d80071e4a1e4 Author: Jason Prickett <jprickett@mozilla.com> Date: Mon, 3 Nov 2025 19:59:03 +0000 Bug 1997580 - Stop secondary buttons from disappearing at certain widths and heights r=omc-reviewers,mviar Differential Revision: https://phabricator.services.mozilla.com/D270873 Diffstat:
| M | browser/components/aboutwelcome/content-src/aboutwelcome.scss | | | 6 | ++++-- |
| M | browser/components/aboutwelcome/content/aboutwelcome.css | | | 2 | +- |
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/browser/components/aboutwelcome/content-src/aboutwelcome.scss b/browser/components/aboutwelcome/content-src/aboutwelcome.scss @@ -1583,8 +1583,10 @@ html { // overlap the dismiss button. We may change the alignment so they don't // overlap in a future revision. @media (800px <= width <= 990px) { - .section-main .secondary-cta.top { - display: none; + &:where(:not([fullscreen])) { + .section-main .secondary-cta.top { + display: none; + } } } diff --git a/browser/components/aboutwelcome/content/aboutwelcome.css b/browser/components/aboutwelcome/content/aboutwelcome.css @@ -2506,7 +2506,7 @@ html { margin-inline-start: 0; } @media only screen and (height <= 650px) and (800px <= width <= 990px) { - .onboardingContainer .screen[pos=split] .section-main .secondary-cta.top { + .onboardingContainer .screen[pos=split]:where(:not([fullscreen])) .section-main .secondary-cta.top { display: none; } }