Skip to content

Commit

Permalink
chore: merge optmize selector
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxiaolang committed Dec 8, 2023
1 parent 97eb410 commit 0ca71ca
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/form/form-item/form-item.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,19 @@ $form-item-width: (
&--top {
flex-direction: column;

.aui-form-item__label-wrapper {
line-height: use-var(line-height-m);
margin-bottom: use-var(spacing-s);
.aui-form-item {
&__label-wrapper {
line-height: use-var(line-height-m);
margin-bottom: use-var(spacing-s);
}

&:after {
&__label-wrapper:after {
display: none;
}
}

.aui-form-item__label {
line-height: use-var(line-height-m);
&__label {
line-height: use-var(line-height-m);
}
}
}

Expand Down

0 comments on commit 0ca71ca

Please sign in to comment.