Skip to content

Commit

Permalink
fix: form item label top margin bottom use s (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxiaolang authored Dec 8, 2023
1 parent 9092f15 commit 3040f5e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-snakes-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alauda/ui": patch
---

fix: form item label top margin bottom use s
12 changes: 8 additions & 4 deletions src/form/form-item/form-item.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@ $form-item-width: (
&--top {
flex-direction: column;

.aui-form-item__label-wrapper {
.aui-form-item__label {
line-height: use-var(line-height-m);
margin-bottom: use-var(spacing-xs);

&:after {
display: none;
&-wrapper {
line-height: use-var(line-height-m);
margin-bottom: use-var(spacing-s);

&:after {
display: none;
}
}
}
}
Expand Down

0 comments on commit 3040f5e

Please sign in to comment.