Skip to content

Commit d9d51d6

Browse files
authored
fix(steps): fix the spacing error between title and description (#3898)
1 parent 66ccc52 commit d9d51d6

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

packages/components/step-item/step-item.less

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@
7979
align-items: center;
8080
}
8181

82+
&--vertical {
83+
margin-bottom: 16rpx;
84+
}
85+
8286
&__anchor {
8387
display: flex;
8488
align-items: center;
@@ -150,10 +154,13 @@
150154
display: flex;
151155
align-items: center;
152156
justify-content: space-between;
153-
margin-bottom: 8rpx;
154157
}
155158
}
156159

160+
&__title + &__description:not(:empty) {
161+
margin-top: 8rpx;
162+
}
163+
157164
&__description {
158165
color: @step-item-description-color;
159166
line-height: 40rpx;

0 commit comments

Comments
 (0)