Open
Description
Preconditions (*)
- Magento 2.4.5-p1 (not that this matters much)
Steps to reproduce (*)
- Compile the less files into CSS
Expected result (*)
- CSS should not be duplicated in styles-m.css and styles-l.css
- CSS should be only in one CSS file or the other. This affects css file size and performance.
Actual result (*)
- Several style rules are duplicated between the two files:
.form-discount .g-recaptcha {
margin-top: 50px !important;
}
...
.login-container .g-recaptcha,
.form-login .g-recaptcha,
.form-edit-account .g-recaptcha {
margin-bottom: 10px !important;
}
...
.required-captcha.checkbox {
position: absolute;
display: block;
visibility: visible;
overflow: hidden;
opacity: 0;
width: 1px;
height: 1px;
}
...
.block.newsletter .field-recaptcha .field .control:before {
content: none;
}
...
.review-form .field-recaptcha {
margin-bottom: 10px;
}