Skip to content

Commit

Permalink
feat: add support for publisher media kit (#2317)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasguillot authored Jun 26, 2024
1 parent 1dcb11c commit 4430264
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
24 changes: 24 additions & 0 deletions newspack-theme/sass/plugins/newspack-publisher-media-kit.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.publisher-media-kit {
&__wrapper {
&.wp-block-group{
> .wp-block-group__inner-container {
> * {
margin-bottom: var( --wp--preset--spacing--80 );
margin-top: var( --wp--preset--spacing--80 );

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

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

.page-template-no-header-footer-php & {
margin-bottom: var( --wp--preset--spacing--80 );
}
}
}
}
}
}
}
4 changes: 4 additions & 0 deletions newspack-theme/sass/style-base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,7 @@
/* Newspack Listings support */

@use 'plugins/newspack-listings';

/* Newspack Publisher Media Kit */

@use 'plugins/newspack-publisher-media-kit';

0 comments on commit 4430264

Please sign in to comment.