Issue #2992299 by oriol_e9g, bkosborne: Classy and Seven are adding : after label when you have checkboxes in a container inline

8.7.x
Lauri Eskola 2018-12-03 11:09:37 +02:00
parent b6208e5225
commit 8da1546f21
No known key found for this signature in database
GPG Key ID: 37E6EF00B7EEF188
2 changed files with 10 additions and 5 deletions

View File

@ -7,10 +7,12 @@
.container-inline .label:after {
content: ':';
}
.form-type-radios .container-inline label:after {
.form-type-radios .container-inline label:after,
.form-type-checkboxes .container-inline label:after {
content: '';
}
.form-type-radios .container-inline .form-type-radio {
.form-type-radios .container-inline .form-type-radio,
.form-type-checkboxes .container-inline .form-type-checkbox {
margin: 0 1em;
}
.container-inline .form-actions,

View File

@ -3,13 +3,16 @@
* Inline items.
*/
.container-inline .form-radios label:after {
.container-inline .form-radios label:after,
.container-inline .form-checkboxes label:after {
content: '';
}
.container-inline .form-radios .form-type-radio {
.container-inline .form-radios .form-type-radio,
.container-inline .form-checkboxes .form-type-checkbox {
margin-right: 1em;
}
[dir="rtl"] .container-inline .form-radios .form-type-radio {
[dir="rtl"] .container-inline .form-radios .form-type-radio,
[dir="rtl"] .container-inline .form-checkboxes .form-type-checkbox {
margin-right: 0;
margin-left: 1em;
}