Skip to content

Commit

Permalink
feat: add specific css for subscribe pattern 5 and 6 (#2305)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasguillot authored May 28, 2024
1 parent e4a3892 commit f7cf899
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions newspack-theme/sass/blocks/_patterns.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,31 @@
@use '../mixins/utilities';

.newspack-pattern {
/* Subscribe Style 5 */

&.subscribe__style-5 {
.wp-block-cover__inner-container {
> * {
margin-bottom: 32px;
margin-top: 32px;

&:first-child {
margin-top: 0;
}

&:last-child {
margin-bottom: 0;
}
}
}
}

/* Subscribe Style 6 */

&.subscribe__style-6 {
gap: 0;
}

/* Subscribe Style 7 */

&.subscribe__style-7 {
Expand Down

0 comments on commit f7cf899

Please sign in to comment.