[wp-trac] [WordPress Trac] #61433: Twenty Twenty: The Media & Text block paragraph text not align properly when change media size.

WordPress Trac noreply at wordpress.org
Mon Jul 1 08:33:38 UTC 2024


#61433: Twenty Twenty: The Media & Text block paragraph text not align properly
when change media size.
----------------------------------------+------------------------------
 Reporter:  viralsampat                 |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Bundled Theme               |     Version:  6.5.4
 Severity:  normal                      |  Resolution:
 Keywords:  dev-feedback needs-testing  |     Focuses:  css
----------------------------------------+------------------------------

Comment (by poena):

 On the front, the media & text block has different padding applied
 depending on the browser width


 {{{
 @media (min-width: 700px) {
     .wp-block-media-text .wp-block-media-text__content {
         padding: 4rem;
     }
 }

 .wp-block-media-text .wp-block-media-text__content {
     padding: 3rem 2rem;
 }
 }}}


 While in the editor, only the block's default padding is applied:

 {{{
     padding: 0 8%;
 }}}

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


More information about the wp-trac mailing list