Skip to content

Commit

Permalink
Pullquote: Ensure spacing consistency between editor and frontend
Browse files Browse the repository at this point in the history
- Added `display: block` to the `.wp-block-pullquote cite` element to align spacing between the editor and the frontend.
- Removed the redundant `color: inherit` CSS rule from `.wp-block-pullquote cite`.
  • Loading branch information
SainathPoojary committed Nov 18, 2024
1 parent 134e4b4 commit 837d387
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/block-library/src/pullquote/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
color: inherit;
}

cite {
display: block;
}

blockquote {
margin: 0;
}
Expand Down Expand Up @@ -69,7 +73,3 @@
}
}
}

.wp-block-pullquote cite {
color: inherit;
}

0 comments on commit 837d387

Please sign in to comment.