WordPress/wp-content/themes/twentytwentyone/assets
ryelle afc3958ab1 Twenty Twenty-One: Add the px unit to the admin bar height custom property.
The admin bar height custom property is used in `calc` functions, which require consistent unit use, even when the value is zero. A unitless value returns an invalid value for the "height" property, where this variable is used. This also changes the stylelint rule in the theme to allow zero values with a unit, just in custom properties.

Props nico23.
Fixes #52564.


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


git-svn-id: http://core.svn.wordpress.org/trunk@49999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-18 20:46:09 +00:00
..
css Twenty Twenty-One: Add the px unit to the admin bar height custom property. 2021-02-18 20:46:09 +00:00
images Bundled Themes: Sync Twenty Twenty-One with the latest changes from GitHub. 2020-11-02 19:45:07 +00:00
js Twenty Twenty-One: Prevent Dark Mode related JavaScript error. 2021-02-09 14:56:04 +00:00
sass Twenty Twenty-One: Add the px unit to the admin bar height custom property. 2021-02-18 20:46:09 +00:00