From e18760e33d38d3bd80949d9d0c4ef6346cd871ff Mon Sep 17 00:00:00 2001 From: Eugene Kasimov <105315663+eugenekasimov@users.noreply.github.com> Date: Fri, 10 Mar 2023 09:49:13 -0800 Subject: [PATCH] Fix the Page section's width. (#2364) * Increase specificity for page-width--narrow class * Add :where to lower specificity. * Minor refactor * Minor refactor --- assets/base.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/base.css b/assets/base.css index b1fe858562b..6e3f6df1118 100644 --- a/assets/base.css +++ b/assets/base.css @@ -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 {