Browse Source

Blockbase: Update the space around the cookie consent label (#4788)

* Blockbase: Update the space around the cookie consent label

* Update blockbase/assets/ponyfill.css

Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>

* Update blockbase/sass/blocks/_post-comments.scss

Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>

Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>
Ben Dwyer 3 years ago
parent
commit
52540cc33f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      blockbase/assets/ponyfill.css
  2. 1 1
      blockbase/sass/blocks/_post-comments.scss

+ 1 - 1
blockbase/assets/ponyfill.css

@@ -585,7 +585,7 @@ p.has-drop-cap:not(:focus):first-letter {
 	display: inline-block;
 	display: inline-block;
 	line-height: calc( var(--wp--custom--form--checkbox--unchecked--sizing--height) + 2 * var(--wp--custom--form--border--width));
 	line-height: calc( var(--wp--custom--form--checkbox--unchecked--sizing--height) + 2 * var(--wp--custom--form--border--width));
 	margin-left: 0;
 	margin-left: 0;
-	padding-left: 3em;
+	padding-left: calc( var(--wp--custom--form--checkbox--unchecked--sizing--width) + ( var(--wp--custom--gap--baseline) / 1.5 ));
 	position: relative;
 	position: relative;
 }
 }
 
 

+ 1 - 1
blockbase/sass/blocks/_post-comments.scss

@@ -89,7 +89,7 @@
 					display: inline-block;
 					display: inline-block;
 					line-height: calc( var(--wp--custom--form--checkbox--unchecked--sizing--height) + 2 * var(--wp--custom--form--border--width));
 					line-height: calc( var(--wp--custom--form--checkbox--unchecked--sizing--height) + 2 * var(--wp--custom--form--border--width));
 					margin-left: 0;
 					margin-left: 0;
-					padding-left: 3em;
+					padding-left: calc( var(--wp--custom--form--checkbox--unchecked--sizing--width) + ( var(--wp--custom--gap--baseline) / 1.5 ) );
 					position: relative;
 					position: relative;
 				}
 				}
 				& + label::before,
 				& + label::before,