[wp-trac] [WordPress Trac] #48691: Twenty Twenty: Audio block alignment issue

WordPress Trac noreply at wordpress.org
Sat Nov 23 09:52:03 UTC 2019


#48691: Twenty Twenty: Audio block alignment issue
-----------------------------------------+-------------------------
 Reporter:  kharisblank                  |       Owner:  nielslange
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  5.3.1
Component:  Bundled Theme                |     Version:  5.3
 Severity:  normal                       |  Resolution:
 Keywords:  needs-patch has-screenshots  |     Focuses:  ui, css
-----------------------------------------+-------------------------

Comment (by poena):

 Hi
 I am able to reproduce the problem.

 I actually think this needs to be fixed in the block editor styles and not
 in the themes.
 For example, the block editor styles the figcaption for the video block:
 {{{
 .wp-block-video.aligncenter{text-align:center}
 }}}
 but this is missing for the audio block.

 Looking at Twenty Nineteen, the theme itself ''always'' centers the fig
 caption for the audio block, no matter
 what the alignment of the block is.


 ----


 I believe that the ''min-width'' part of the patch needs to be removed,
 because the player is much wider in the editor than it is in the front,
 what do you think?

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


More information about the wp-trac mailing list