Skip to content

Commit 3040f5e

Browse files
authored
fix: form item label top margin bottom use s (#527)
1 parent 9092f15 commit 3040f5e

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.changeset/gorgeous-snakes-dance.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@alauda/ui": patch
3+
---
4+
5+
fix: form item label top margin bottom use s

src/form/form-item/form-item.component.scss

+8-4
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@ $form-item-width: (
2222
&--top {
2323
flex-direction: column;
2424

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

29-
&:after {
30-
display: none;
28+
&-wrapper {
29+
line-height: use-var(line-height-m);
30+
margin-bottom: use-var(spacing-s);
31+
32+
&:after {
33+
display: none;
34+
}
3135
}
3236
}
3337
}

0 commit comments

Comments
 (0)