Skip to content

Commit dcc8d61

Browse files
committed
fix(steps): fix the spacing error between title and description
1 parent 62c79c1 commit dcc8d61

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

style/mobile/components/step-item/_index.less

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
align-items: center;
4545
}
4646

47+
&--vertical {
48+
margin-bottom: 8px;
49+
}
50+
4751
&__anchor {
4852
display: flex;
4953
align-items: center;
@@ -128,10 +132,13 @@
128132
display: flex;
129133
align-items: center;
130134
justify-content: space-between;
131-
margin-bottom: 4px;
132135
}
133136
}
134137

138+
&__title + &__description:not(:empty) {
139+
margin-top: 4px;
140+
}
141+
135142
&__description {
136143
color: @step-item-description-color;
137144
line-height: 20px;

0 commit comments

Comments
 (0)