Skip to content

Commit

Permalink
Fix breaking changes in checkbox control UI in WP 6.6.
Browse files Browse the repository at this point in the history
Code is copied from WordPress/gutenberg#60475.
  • Loading branch information
ecgan committed Jul 8, 2024
1 parent f511f28 commit ca19870
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/source/setup-guide/app/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ $root: ".woocommerce-setup-guide";
}
}

// This is to fix breaking changes in checkbox control UI in WP 6.6.
// Code is copied from https://github.com/WordPress/gutenberg/pull/60475.
:root {
--checkbox-input-size: 24px; // Width & height for small viewports.

@include break-small() {
--checkbox-input-size: 20px;
}

--checkbox-input-margin: #{$grid-unit-10};
}

#{$root} {

&__body {
Expand Down

0 comments on commit ca19870

Please sign in to comment.