Append asterisk to required form field labels

This commit is contained in:
Jeremy Stretch 2024-01-12 16:51:32 -05:00
parent d61414a026
commit b84d023838

View File

@ -3,3 +3,16 @@ form.object-edit {
margin: auto; margin: auto;
max-width: 800px; max-width: 800px;
} }
// Set bond font & append an asterisk to labels for required fields
.col-form-label.required {
font-weight: bold;
&:after {
position: absolute;
display: inline-block;
margin-left: 0;
font-family: 'Material Design Icons';
font-size: 8px;
content: '\f06C4';
}
}