From 22231c26f485877defb7066b49bd6ee6e5c997ec Mon Sep 17 00:00:00 2001 From: ren <18050944+renintw@users.noreply.github.com> Date: Thu, 12 Oct 2023 01:56:21 +0900 Subject: [PATCH] Margin bottom for Thank you page and login page should be 70px as Figma instructs --- .../themes/wporg-showcase-2022/src/style/style.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/wp-content/themes/wporg-showcase-2022/src/style/style.scss b/source/wp-content/themes/wporg-showcase-2022/src/style/style.scss index e0971c48..ed307ee0 100644 --- a/source/wp-content/themes/wporg-showcase-2022/src/style/style.scss +++ b/source/wp-content/themes/wporg-showcase-2022/src/style/style.scss @@ -219,6 +219,18 @@ body.page-template-page-submit-confirmation .wp-site-blocks { color: var(--wp--preset--color--white); } +body.page-template-page-submit-confirmation, +body.page-template-page-submit { + + /* Adjust margin used to pull the header over the dots background when the font size changes. */ + @media (min-width: 599px) { + .wp-block-spacer.has-dark-dots-background, + .wp-block-spacer.has-blue-dots-background { + margin-bottom: 70px !important; + } + } +} + /* Add background to spacers. These are custom classes, not attached as block styles. */ .wp-block-spacer { &.has-dots-background,