Skip to content

Commit

Permalink
fix(form): fix help message color of form-item (#1911)
Browse files Browse the repository at this point in the history
Co-authored-by: maxin <maxin@growingio.com>
  • Loading branch information
nnmax and maxin committed Mar 21, 2022
1 parent 230f320 commit 134b190
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/form/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

.@{field-prefix-cls}-message {
color: if(@hasMsg, @@color, '');
.@{field-prefix-cls}-feedback,
.@{field-prefix-cls}-help {
color: if(@hasMsg, @@color, '');
}
}

.@{field-prefix-cls}-children-icon {
Expand Down Expand Up @@ -116,7 +120,8 @@
&-feedback,
&-help {
min-height: 20px;
color: @error-color;
margin-top: 8px;
color: @gray-4;

.@{form-prefix-cls}-large & {
min-height: @field-gap-large;
Expand Down

1 comment on commit 134b190

@vercel
Copy link

@vercel vercel bot commented on 134b190 Mar 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.