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. Backports the PHP changes in WordPress/gutenberg#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
- Loading branch information