Skip to content

Commit

Permalink
Fix the Page section's width. (Shopify#2364)
Browse files Browse the repository at this point in the history
* Increase specificity for page-width--narrow class

* Add :where to lower specificity.

* Minor refactor

* Minor refactor
  • Loading branch information
eugenekasimov authored Mar 10, 2023
1 parent a2e08d9 commit e18760e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,13 @@ html.no-js .no-js-hidden {
}

.page-width {
max-width: var(--page-width);
margin: 0 auto;
padding: 0 1.5rem;
}

.page-width:not(.drawer-menu) {
max-width: var(--page-width);
.page-width.drawer-menu {
max-width: 100%;
}

.page-width-desktop {
Expand Down

0 comments on commit e18760e

Please sign in to comment.