Blockbase: Move label position relative to Blockbase

This commit is contained in:
Sarah Norris 2021-08-11 16:11:02 +01:00
parent ed601df4c0
commit 4c0be8a98e
6 changed files with 11 additions and 9 deletions

View file

@ -475,8 +475,12 @@ p.has-background {
margin-left: 0;
}
.wp-block-post-comments form .comment-form-cookies-consent input[type="checkbox"] + ::before,
.wp-block-post-comments form .comment-form-cookies-consent input[type="checkbox"] + ::after {
.wp-block-post-comments form .comment-form-cookies-consent input[type="checkbox"] + label {
position: relative;
}
.wp-block-post-comments form .comment-form-cookies-consent input[type="checkbox"] + label::before,
.wp-block-post-comments form .comment-form-cookies-consent input[type="checkbox"] + label::after {
box-sizing: border-box;
}

View file

@ -33,9 +33,11 @@
.comment-form-cookies-consent {
input[type="checkbox"] {
margin-left: 0;
& + ::before,
& + ::after {
& + label {
position: relative;
}
& + label::before,
& + label::after {
box-sizing: border-box;
}
& + ::before {

View file

@ -408,7 +408,6 @@ ul ul {
.wp-block-post-comments form .comment-form-cookies-consent input[type="checkbox"] + label {
margin-left: 0;
padding-left: 2em;
position: relative;
}
.wp-block-post-comments form .form-submit {

View file

@ -80,7 +80,6 @@
& + label {
margin-left: 0;
padding-left: 2em;
position: relative;
}
}

View file

@ -213,7 +213,6 @@
.wp-block-post-comments form .comment-form-cookies-consent input[type="checkbox"] + label {
margin-left: 0;
padding-left: 3em;
position: relative;
}
.wp-block-post-comments form .form-submit {

View file

@ -96,7 +96,6 @@
& + label {
margin-left: 0;
padding-left: 3em;
position: relative;
}
}
}