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

WordPress Trac noreply at wordpress.org
Mon Nov 18 06:52:54 UTC 2019


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

Comment (by kharisblank):

 Replying to [comment:1 nielslange]:

 You're welcome!

 **Steps to reproduce:**

 1. Insert an audio block and set a caption
 2. Enable "Align Center"

 [[Image(https://i.imgur.com/R726wo0.gif)]]

 [[Image(https://i.imgur.com/3xMgZob.gif)]]

 **Expected behaviour:**

 [[Image(https://i.imgur.com/xFWTQiY.png)]]

 Audio block along with its caption should be center aligned when vieweing
 the actual post.

 **Current behaviour:**

 It's already centered in block editor. But it isn't when vieweing the
 actual post page.


 [[Image(https://i.imgur.com/qE3GAap.png)]]


 ----

 When I chose "Align Right", the audio block goes too far right and
 overlaps the main content's container. It's resulting horizontal window
 scroll bar at the bottom appears. See the below screencast:

 [[Image(https://i.imgur.com/Ya3lk7R.gif)]]

 **Expected behaviour for this:**

 * Audio block should not overlapping main content's container
 * Align right the caption

 Let me know if there's anything else I should explain more.

 Best,
 Kharis

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


More information about the wp-trac mailing list