Skip to content

Commit

Permalink
Pull request #1350: fix(oblique/master-layout): don't apply `hasMaxWi…
Browse files Browse the repository at this point in the history
…dth` on small screens

Merge in OUI/oblique from bugfix/OUI-3041-masterlayout-hasmaxwidth-true-messes-with-small-screens to release/patch_11.1.1

* commit 'aed65a70102ab3a746ae974cdd6edeae3af8adf1':
  fix(oblique/master-layout): don't apply `hasMaxWidth` on small screens
  • Loading branch information
nina-egger authored and gillerr committed May 2, 2024
2 parents d355682 + aed65a7 commit 5acf546
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,14 @@
}
}

&.ob-has-max-width .ob-main-layout {
display: flex;
justify-content: center;
@include layout.ob-media-breakpoint-up(lg) {
&.ob-has-max-width .ob-main-layout {
display: flex;
justify-content: center;

> * {
max-width: map.get(variables.$ob-grid-breakpoints, xl);
> * {
max-width: map.get(variables.$ob-grid-breakpoints, xl);
}
}
}

Expand Down

0 comments on commit 5acf546

Please sign in to comment.