Skip to content

Commit

Permalink
Streamline fx mobile grid with one column hidden (mozilla#15653)
Browse files Browse the repository at this point in the history
* Simplify fx mobile page intro grid
* Tweak positioning around noodles
* Keep a splash of color for wider viewports
  • Loading branch information
janbrasna authored Dec 5, 2024
1 parent a16e1c5 commit 62fc67e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions media/css/firefox/browsers/mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,25 @@ $image-path: '/media/protocol/img';
.header-product-ctas {
display: none;
}

// and also revert the grid to 1col
@media #{$mq-md} {
.c-page-header .mzp-c-split-container {
display: revert;
grid: revert;
}
}

// and avoid the noodles background where the form was
@media #{$mq-lg} {
.c-page-header .mzp-c-split-body {
width: 75%;
}

.c-page-header::before {
left: 15%;
}
}
}

// hide download links for one platform from the other
Expand Down

0 comments on commit 62fc67e

Please sign in to comment.