Skip to content

Commit

Permalink
chore(): fix field label margin bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
Mladen Planinicic committed Dec 6, 2023
1 parent 18e74ae commit bfd4bdf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/components/src/components/bal-field/bal-field.sass
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
font-family: var(--bal-font-family-text)

+block(field-label)
display: inline-block
margin-bottom: .25rem
display: inline

.bal-field-label ~ .bal-field-control
margin-top: .25rem

+block(field-hint)
display: inline-block
Expand Down Expand Up @@ -76,4 +78,4 @@
top: 0

.bal-field-hint ~ .bal-field-message
margin-left: calc(var(--bal-field-label-horizontal-width) + (var(--bal-field-label-column-gap) * 2) + 1.125rem)
margin-left: calc(var(--bal-field-label-horizontal-width) + (var(--bal-field-label-column-gap) * 2) + 1.125rem)

0 comments on commit bfd4bdf

Please sign in to comment.