From 20e6a3de35c9a221cd29bb4d902c7ae700b1cd6a Mon Sep 17 00:00:00 2001 From: ren <18050944+renintw@users.noreply.github.com> Date: Tue, 12 Dec 2023 00:14:13 +0900 Subject: [PATCH] Clean up the rest. --- .../wporg-events-2023/postcss/base/layout.pcss | 3 ++- .../postcss/blocks/wporg-query-filter.pcss | 15 ++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/public_html/wp-content/themes/wporg-events-2023/postcss/base/layout.pcss b/public_html/wp-content/themes/wporg-events-2023/postcss/base/layout.pcss index 417e37ef18..d95ce0e325 100644 --- a/public_html/wp-content/themes/wporg-events-2023/postcss/base/layout.pcss +++ b/public_html/wp-content/themes/wporg-events-2023/postcss/base/layout.pcss @@ -5,7 +5,8 @@ body { .wp-site-blocks .is-layout-constrained, .wp-block-post-content-is-layout-constrained { & .alignwide { + /* See note about about the `global` sizes. */ - max-width: var( --wp--custom--layout--wide-size ) !important; + max-width: var(--wp--custom--layout--wide-size) !important; } } diff --git a/public_html/wp-content/themes/wporg-events-2023/postcss/blocks/wporg-query-filter.pcss b/public_html/wp-content/themes/wporg-events-2023/postcss/blocks/wporg-query-filter.pcss index 3f246ac8a2..61a867ca3a 100644 --- a/public_html/wp-content/themes/wporg-events-2023/postcss/blocks/wporg-query-filter.pcss +++ b/public_html/wp-content/themes/wporg-events-2023/postcss/blocks/wporg-query-filter.pcss @@ -1,13 +1,14 @@ /* Until we move to multi-select we should show the count so users know there is a filter applied. */ -.wporg-query-filter__toggle.has-no-filter-applied span, +.wporg-query-filter__toggle.has-no-filter-applied span, .wporg-query-filter__toggle.is-single-select span { - display: inline-block; + display: inline-block; } -@media(max-width: 889px) { - .wporg-query-filters { - max-width:100%; - overflow-x: scroll - } +.wporg-query-filters { + + @media (max-width: 889px) { + max-width: 100%; + overflow-x: scroll; + } }