[wp-trac] [WordPress Trac] #56626: Twenty Twenty-Two: Elements with alignfull in the content provoke a horizontal scrollbar

WordPress Trac noreply at wordpress.org
Mon Oct 10 07:51:54 UTC 2022


#56626: Twenty Twenty-Two: Elements with alignfull in the content provoke a
horizontal scrollbar
-------------------------------+---------------------
 Reporter:  markhowellsmead    |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  6.1
Component:  Bundled Theme      |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  css
-------------------------------+---------------------

Comment (by markhowellsmead):

 No site editor amendments. Here's the code.

 {{{
 <!-- wp:group
 {"align":"full","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}},"backgroundColor":"primary","layout":{"inherit":false}}
 -->
 <div class="wp-block-group alignfull has-primary-background-color has-
 background" style="padding-top:0px;padding-right:0px;padding-bottom:0px
 ;padding-left:0px"><!-- wp:cover {"url":"http://wcch.local/wp-
 content/uploads/2022/09/bls-regio-nach-
 kerzers-1224406.jpg","id":13,"dimRatio":80,"overlayColor":"primary","focalPoint":{"x":"0.52","y":"0.53"},"contentPosition":"bottom
 center","isDark":false,"align":"full","style":{"spacing":{"padding":{"top":"40px","bottom":"40px"}}}}
 -->
 <div class="wp-block-cover alignfull is-light has-custom-content-position
 is-position-bottom-center" style="padding-top:40px;padding-
 bottom:40px"><span aria-hidden="true" class="wp-block-cover__background
 has-primary-background-color has-background-dim-80 has-background-
 dim"></span><img class="wp-block-cover__image-background wp-image-13"
 alt="" src="http://wcch.local/wp-content/uploads/2022/09/bls-regio-nach-
 kerzers-1224406.jpg" style="object-position:52% 53%" data-object-
 fit="cover" data-object-position="52% 53%"/><div class="wp-block-
 cover__inner-container"><!-- wp:group {"align":"wide"} -->
 <div class="wp-block-group alignwide"><!-- wp:post-title
 {"level":1,"align":"wide","textColor":"background"} /--></div>
 <!-- /wp:group --></div></div>
 <!-- /wp:cover --></div>
 <!-- /wp:group -->
 }}}

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


More information about the wp-trac mailing list