mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-04 17:09:46 +08:00
6936599aef
* rename .stylelintrc to .stylelintrc.json for explicit file type * add new npm script lint-fix:style * fix pseudo-element with double colon * function name should be lower except ignored functions * support stylelint declaration-block-no-ignored-properties rule * support sorted CSS properties order for readability and consistency * autofix order of all styles by lint-fix:style script * remove double slash comments after selector * replace .stylelintignore with ignoreFiles in .stylelintrc.json
27 lines
564 B
Plaintext
27 lines
564 B
Plaintext
.@{steps-prefix-cls}-label-vertical {
|
||
.@{steps-prefix-cls}-item {
|
||
overflow: visible;
|
||
&-tail {
|
||
margin-left: 51px;
|
||
padding: 3.5px 24px;
|
||
}
|
||
&-content {
|
||
display: block;
|
||
// icon左边距离+一半icon宽度,是content一半的宽度,垂直对齐icon
|
||
width: (@steps-icon-size / 2 + 36px) * 2;
|
||
margin-top: 8px;
|
||
text-align: center;
|
||
}
|
||
&-icon {
|
||
display: inline-block;
|
||
margin-left: 36px;
|
||
}
|
||
&-title {
|
||
padding-right: 0;
|
||
&::after {
|
||
display: none;
|
||
}
|
||
}
|
||
}
|
||
}
|