From 7ff821d6003d813647c77d8d27145a8473832fb5 Mon Sep 17 00:00:00 2001 From: thelovekesh Date: Sun, 14 Jul 2024 23:22:50 +0530 Subject: [PATCH] Update checkbox CSS --- assets/src/css/core-components.css | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/assets/src/css/core-components.css b/assets/src/css/core-components.css index 1501e83fb51..f7166f82e9e 100644 --- a/assets/src/css/core-components.css +++ b/assets/src/css/core-components.css @@ -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. */ @@ -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. */