[wp-trac] [WordPress Trac] #61656: Layout: Invalid CSS for nested fullwidth layouts with zeroed-out custom padding
WordPress Trac
noreply at wordpress.org
Thu Jul 18 17:02:47 UTC 2024
#61656: Layout: Invalid CSS for nested fullwidth layouts with zeroed-out custom
padding
-------------------------------------------------+-------------------------
Reporter: andrewserong | Owner:
| hellofromTonya
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.6.1
Component: Editor | Version: 6.6
Severity: normal | Resolution: fixed
Keywords: gutenberg-merge has-patch has- | Focuses:
testing-info dev-reviewed commit |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"58761" 58761]:
{{{
#!CommitTicketReference repository="" revision="58761"
Block Themes: Fix invalid css for nested fullwidth layouts with zero
padding applied
In the Layout block support, handle 0 values for padding as 0px in calc()
rules. This resolves a bug for nested fullwidth layouts when zero padding
is applied. Due to how calc() works, without supplying the unit, the rule
will not
work, resulting in a horizontal scrollbar.
Ref: PHP changes from https://github.com/WordPress/gutenberg/pull/63436.
Reviewed by hellofromTonya.
Merges [58750] to the 6.6 branch.
Fixes #61656.
Props andrewserong, mukesh27, aaronrobertshaw.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61656#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list