Skip to content

Commit

Permalink
Fix checkboxes for postmeta. (#18108)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored and youknowriad committed Oct 28, 2019
1 parent 24ebb02 commit 85a15f0
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,25 @@
.is-hidden {
display: none;
}


// Until checkboxes WordPress-wide are updated to match the new style,
// 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"] {
border: $border-width solid $dark-gray-300;

&:checked {
background: $white;
border-color: $dark-gray-300;
}

&::before {
margin: -3px -4px;
}
}
}

.edit-post-meta-boxes-area__clear {
Expand Down

0 comments on commit 85a15f0

Please sign in to comment.