Skip to content

Commit

Permalink
Move styles from styles.scss to editor.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Aug 20, 2024
1 parent f6e60fb commit d924114
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 11 additions & 0 deletions packages/block-library/src/latest-posts/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@
padding-left: 0;
}
}

// Apply the same styles that would be applied to
// ".block-editor-block-inspector .components-base-control"
// (see packages/block-editor/src/components/block-inspector/style.scss)
.wp-block-latest-posts__post-content-radio {
margin-bottom: #{ $grid-unit-30 };

&:last-child {
margin-bottom: $grid-unit-10;
}
}
11 changes: 0 additions & 11 deletions packages/block-library/src/latest-posts/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,3 @@
text-align: center;
}
}

// Apply the same styles that would be applied to
// ".block-editor-block-inspector .components-base-control"
// (see packages/block-editor/src/components/block-inspector/style.scss)
.wp-block-latest-posts__post-content-radio {
margin-bottom: #{ $grid-unit-30 };

&:last-child {
margin-bottom: $grid-unit-10;
}
}

0 comments on commit d924114

Please sign in to comment.