Fix content without vertical alignment icon when using vertical label mode; And description text-align: center;

This commit is contained in:
yoyo837 2018-07-24 10:34:50 +08:00 committed by 偏右
parent 2e7d08e98f
commit a0a0d88b78

View File

@ -9,7 +9,8 @@
display: block;
text-align: center;
margin-top: 8px;
width: @steps-desciption-max-width;
// icon左边距离+一半icon宽度是content一半的宽度垂直对齐icon
width: (@steps-icon-size / 2 + 36px) * 2;
}
&-icon {
display: inline-block;
@ -21,8 +22,5 @@
display: none;
}
}
&-description {
text-align: left;
}
}
}