WordPress/wp-includes/block-supports
noisysocks ab39abeed7 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.

Backports the PHP changes in https://github.com/WordPress/gutenberg/pull/63436.

Fixes #61656.
Props andrewserong, mukesh27, aaronrobertshaw.

Built from https://develop.svn.wordpress.org/trunk@58750


git-svn-id: http://core.svn.wordpress.org/trunk@58152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-18 06:50:10 +00:00
..
align.php
background.php Block Themes: Allow setting site-wide background images in theme.json 2024-05-28 06:06:11 +00:00
block-style-variations.php Section Styles: Fix ref values within block style variations. 2024-07-09 10:24:19 +00:00
border.php
colors.php
custom-classname.php
dimensions.php Editor: introduce dimensions.aspectRatio block support. 2024-01-31 02:54:17 +00:00
duotone.php Editor: fix duotone filter for aligned images on classic themes. 2024-06-04 01:48:17 +00:00
elements.php Editor: Fix coding standards and move deprecated function to correct file. 2024-05-03 05:25:12 +00:00
generated-classname.php
layout.php Block Themes: Fix invalid css for nested fullwidth layouts with zero padding applied 2024-07-18 06:50:10 +00:00
position.php
settings.php
shadow.php Editor: Add __experimentalSkipSerialization support to shadow. 2024-06-03 23:36:14 +00:00
spacing.php
typography.php Coding Standards: Apply changes after running composer format. 2024-06-13 15:06:07 +00:00
utils.php