@@ -240,7 +240,7 @@ p {
padding: 0;
}
-.has-background {
+.has-background:not(.wp-block-separator) {
padding: var(--wp--custom--gap--vertical) var(--wp--custom--gap--horizontal);
@@ -15,7 +15,9 @@
// Needed until we have a solution for https://github.com/WordPress/gutenberg/issues/34588.
.has-background {
- padding: var(--wp--custom--gap--vertical) var(--wp--custom--gap--horizontal);
+ &:not(.wp-block-separator){
+ padding: var(--wp--custom--gap--vertical) var(--wp--custom--gap--horizontal);
+ }
:last-child {
margin-bottom: 0;