Skip to content

Commit

Permalink
Margin bottom for Thank you page and login page should be 70px as Fig…
Browse files Browse the repository at this point in the history
…ma instructs
  • Loading branch information
renintw committed Oct 16, 2023
1 parent 045576c commit 22231c2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions source/wp-content/themes/wporg-showcase-2022/src/style/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 22231c2

Please sign in to comment.