Skip to content

Commit

Permalink
Remove border radius for root element (#28320)
Browse files Browse the repository at this point in the history
The support declaration was named "border" but should have been named "borderRadius", hence it didn't work.

These styles are attached to the :root selector so I'm not sure it makes much sense to have this property. There's also the issue that there's no UI control for users to tweak this property via the global styles sidebar.

An alternative that was considered to fix this is renaming it to borderRadius.
  • Loading branch information
nosolosw committed Jan 19, 2021
1 parent 8198daa commit f2929f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/class-wp-theme-json.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ class WP_Theme_JSON {
'--wp--style--color--link',
'background',
'backgroundColor',
'border',
'color',
'fontFamily',
'fontSize',
Expand Down

0 comments on commit f2929f3

Please sign in to comment.