Skip to content

Commit

Permalink
hotfix: more space to the left of a form badge
Browse files Browse the repository at this point in the history
a.k.a. more space before "(required)"

- looks okay on c-form i.e. on a label with a space
- looks okay on cms i.e. on a label without a space
  • Loading branch information
wesleyboar committed Nov 27, 2023
1 parent 1cebb67 commit 245c6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/_imports/components/c-form.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
/* Field: Required, Asterisk, Important */

:--form__badge {
margin-left: 0.5em;
margin-left: 1em;
}
:--form__badge:where(:--form__field--has-required *) {
color: var(--global-color-danger--dark);
Expand Down

0 comments on commit 245c6c1

Please sign in to comment.