Skip to content

Commit

Permalink
docs(formily): add quick-start doc
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Mar 12, 2021
1 parent 819075f commit e29857e
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions packages/antd/src/form-item/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
}
}


.@{ant-prefix}-select,
.@{ant-prefix}-cascader-picker,
.@{ant-prefix}-picker {
Expand Down Expand Up @@ -247,13 +247,14 @@
.@{ant-prefix}-select-single:not(.@{ant-prefix}-select-customize-input) .@{ant-prefix}-select-selector {
padding: 0px 7px;
height: @form-item-margin-bottom;

.@{ant-prefix}-select-selection-search-input{
height: @height-sm - 2;
}
.@{ant-prefix}-select-selection-item{
line-height: @height-sm - 2;
}

.@{ant-prefix}-select-selection-search-input {
height: @height-sm - 2;
}

.@{ant-prefix}-select-selection-item {
line-height: @height-sm - 2;
}
}

}
Expand Down Expand Up @@ -472,6 +473,7 @@
}

.@{form-item-cls}-error {

.@{ant-prefix}-select-selector,
.@{ant-prefix}-cascader-picker,
.@{ant-prefix}-picker,
Expand All @@ -482,6 +484,7 @@
.@{ant-prefix}-input {
border-color: @error-color !important;
}

.@{ant-prefix}-select-selector,
.@{ant-prefix}-cascader-picker,
.@{ant-prefix}-picker,
Expand Down Expand Up @@ -517,6 +520,7 @@
}

.@{form-item-cls}-warning {

.@{ant-prefix}-select-selector,
.@{ant-prefix}-cascader-picker,
.@{ant-prefix}-picker,
Expand All @@ -527,6 +531,7 @@
.@{ant-prefix}-input {
border-color: @warning-color !important;
}

.@{ant-prefix}-select-selector,
.@{ant-prefix}-cascader-picker,
.@{ant-prefix}-picker,
Expand Down Expand Up @@ -560,6 +565,7 @@
.@{ant-prefix}-input {
border-color: @success-color !important;
}

.@{ant-prefix}-select-selector,
.@{ant-prefix}-cascader-picker,
.@{ant-prefix}-picker,
Expand All @@ -579,4 +585,4 @@
border-right-width: 1px !important;
outline: 0;
}
}
}

0 comments on commit e29857e

Please sign in to comment.