Skip to content

Commit

Permalink
Merge pull request #7844 from ampproject/update/checkbox-styles
Browse files Browse the repository at this point in the history
Update checkbox CSS
  • Loading branch information
westonruter authored Jul 15, 2024
2 parents 3175da6 + 7ff821d commit 80c0e0c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions assets/src/css/core-components.css
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@
.amp svg.components-checkbox-control__checked {
width: 18px;
height: 22px;
left: 0;
fill: rgb(255, 255, 255);
position: absolute;
}

/* For WP 5.0. Some of these styles are redundant in later WP versions. */
Expand All @@ -148,12 +149,6 @@
vertical-align: middle;
}

.amp svg.components-checkbox-control__checked {
fill: rgb(255, 255, 255);
position: absolute;
top: -2px;
}

/**
* Fixed nav bar on both the settings screen and the wizard.
*/
Expand Down

0 comments on commit 80c0e0c

Please sign in to comment.