Skip to content

Commit

Permalink
Fix postmeta radio regression. (#18183)
Browse files Browse the repository at this point in the history
* Fix postmeta radio regression.

This PR fixes #18181.

The regression was caused due to a margin added to the pseudo element which was not necessary for the radio buttons.

* Only apply to side-sortables.
  • Loading branch information
jasmussen authored and jorgefilipecosta committed Nov 5, 2019
1 parent 9d6d450 commit d39b569
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -87,8 +87,7 @@
// checkboxes used in metaboxes have to be slightly unstyled here.
// @todo: remove this entire rule once checkboxes are the same everywhere.
// See: https://github.com/WordPress/gutenberg/issues/18053
.postbox-container .postbox input[type="checkbox"],
.postbox-container .postbox input[type="radio"] {
.metabox-location-side .postbox input[type="checkbox"] {
border: $border-width solid $dark-gray-300;

&:checked {
Expand Down

0 comments on commit d39b569

Please sign in to comment.