Browse Source

Add * required from the label itself

pull/6345/head
Melek REBAI 6 years ago
committed by GitHub
parent
commit
3bbc7036f0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions
  1. 6
      src/definitions/collections/form.less

6
src/definitions/collections/form.less

@ -670,7 +670,8 @@
.ui.form .required.fields.grouped > label:after, .ui.form .required.fields.grouped > label:after,
.ui.form .required.field > label:after, .ui.form .required.field > label:after,
.ui.form .required.fields:not(.grouped) > .field > .checkbox:after, .ui.form .required.fields:not(.grouped) > .field > .checkbox:after,
.ui.form .required.field > .checkbox:after {
.ui.form .required.field > .checkbox:after,
.ui.form label.required:after {
margin: @requiredMargin; margin: @requiredMargin;
content: @requiredContent; content: @requiredContent;
color: @requiredColor; color: @requiredColor;
@ -678,7 +679,8 @@
.ui.form .required.fields:not(.grouped) > .field > label:after, .ui.form .required.fields:not(.grouped) > .field > label:after,
.ui.form .required.fields.grouped > label:after, .ui.form .required.fields.grouped > label:after,
.ui.form .required.field > label:after {
.ui.form .required.field > label:after,
.ui.form label.required:after {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
} }

Loading…
Cancel
Save