[wp-trac] [WordPress Trac] #55991: Twenty Twenty One: Unable to change size in Quote block

WordPress Trac noreply at wordpress.org
Mon Jul 3 07:26:55 UTC 2023


#55991: Twenty Twenty One: Unable to change size in Quote block
-------------------------------------------------+-------------------------
 Reporter:  jyolsna                              |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.3
Component:  Bundled Theme                        |     Version:  6.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots needs-     |     Focuses:
  testing has-testing-info                       |
-------------------------------------------------+-------------------------

Comment (by poena):

 Hi

 Removing the padding was intentional, for the editor to match the front.
 With {{{padding: 0}}} removed, the following style from  core "theme.scss"
 is applied both in the editor and front:

 {{{
 .wp-block-quote {
         border-left: 0.25em solid;
         margin: 0 0 1.75em;
         padding-left: 1em;
 }
 }}}

 Because em is used, it will be relative to the font size setting.

 This was the intention, but it has been 9 months and the order of the CSS
 seems to have changed since.

 When I test this patch, the editor and front still does not match the way
 it should.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55991#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list