Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 WordPress/gutenberg#63436. Reviewed by hellofromTonya. Merges [58750] to the 6.6 branch. Fixes #61656. Props andrewserong, mukesh27, aaronrobertshaw. Built from https://develop.svn.wordpress.org/branches/6.6@58761 git-svn-id: http://core.svn.wordpress.org/branches/6.6@58163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
- Loading branch information