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

WordPress Trac noreply at wordpress.org
Thu Sep 22 16:09:12 UTC 2022


#56626: Twenty Twenty Two Theme: Elements with alignfull in the content provoke a
horizontal scrollbar
-----------------------------+-----------------------------
 Reporter:  markhowellsmead  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Bundled Theme    |    Version:
 Severity:  major            |   Keywords:
  Focuses:  css              |
-----------------------------+-----------------------------
 Add a cover block with full alignment to the content and you'll see a
 horizontal scrollbar.

 Current CSS:

 {{{
 margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
 margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
 }}}

 Fix:

 {{{
 margin-left: calc(-0.5 * var(--wp--custom--spacing--outer)) !important;
 margin-right: calc(-0.5 * var(--wp--custom--spacing--outer)) !important;
 }}}

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


More information about the wp-trac mailing list