Skip to content

Commit

Permalink
Twenty Sixteen: Fixes Quote block border width changes depending on f…
Browse files Browse the repository at this point in the history
…ont size.

When the font size is changed the border on the front was changing in width. This fix resolves that to make sure the width does not adjust.

Props nidhidhandhukiya, sabernhardt, kamran8176, pitamdey, shailu25.
Fixes #60239.


git-svn-id: https://develop.svn.wordpress.org/trunk@58777 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
karmatosed committed Jul 22, 2024
1 parent 9a65808 commit 011709f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/wp-content/themes/twentysixteen/css/blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ p.has-drop-cap:not(:focus)::first-letter {

/* Quote */

.wp-block-quote {
border-width: 0 0 0 4px;
}

:where(.rtl) .wp-block-quote {
border-width: 0 4px 0 0;
}

.wp-block-quote:not(.is-large):not(.is-style-large).alignleft,
.wp-block-quote:not(.is-large):not(.is-style-large).alignright {
border-left: none;
Expand Down

0 comments on commit 011709f

Please sign in to comment.