From 98f8014e7d43f569bdeaa7fc5ff9253a4dd7d4ae Mon Sep 17 00:00:00 2001 From: Philipp Stracker Date: Fri, 8 Aug 2025 18:04:40 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Extract=20CSS=20for=20help?= =?UTF-8?q?=20section?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/ppcp-settings/resources/css/components/_reusable.scss | 1 + .../css/components/reusable-components/_help-section.scss | 4 ++++ .../resources/css/components/screens/_settings.scss | 4 ---- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 modules/ppcp-settings/resources/css/components/reusable-components/_help-section.scss diff --git a/modules/ppcp-settings/resources/css/components/_reusable.scss b/modules/ppcp-settings/resources/css/components/_reusable.scss index 439979d90..604529a6a 100644 --- a/modules/ppcp-settings/resources/css/components/_reusable.scss +++ b/modules/ppcp-settings/resources/css/components/_reusable.scss @@ -5,6 +5,7 @@ @import './reusable-components/button'; @import './reusable-components/elements'; @import './reusable-components/fields'; +@import './reusable-components/help-section'; @import './reusable-components/navigation'; @import './reusable-components/onboarding-header'; @import './reusable-components/payment-method-icons'; diff --git a/modules/ppcp-settings/resources/css/components/reusable-components/_help-section.scss b/modules/ppcp-settings/resources/css/components/reusable-components/_help-section.scss new file mode 100644 index 000000000..33d5e6330 --- /dev/null +++ b/modules/ppcp-settings/resources/css/components/reusable-components/_help-section.scss @@ -0,0 +1,4 @@ +/* The help section at the bottom of post pages */ +.ppcp-r-tab-overview-help { + --block-header-gap: 8px; +} diff --git a/modules/ppcp-settings/resources/css/components/screens/_settings.scss b/modules/ppcp-settings/resources/css/components/screens/_settings.scss index 232dbabd8..bdde593ff 100644 --- a/modules/ppcp-settings/resources/css/components/screens/_settings.scss +++ b/modules/ppcp-settings/resources/css/components/screens/_settings.scss @@ -164,10 +164,6 @@ --block-header-gap: 12px; } -.ppcp-r-tab-overview-help { - --block-header-gap: 8px; -} - .ppcp-r-settings-block__feature { .ppcp--action-buttons { display: flex;