Skip to content

Commit

Permalink
Forms: fix asterisk for required labels line-breaking (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbrom authored Jul 8, 2020
1 parent 8ee7533 commit 113e993
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/clr-addons/components.clr-addons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,13 @@ body,
}

form .required:after {
position: absolute;
content: '*';
font-size: 0.58479532rem; // Approximately 14px.
line-height: 0.5rem;
color: var(--red-dark);
margin-left: 0.25rem;
margin-top: 0.25rem;
}

// Readonly checkboxes, radiobuttons
Expand Down

0 comments on commit 113e993

Please sign in to comment.