Skip to content

Commit

Permalink
fix(next): fix fullness icon width (#2020)
Browse files Browse the repository at this point in the history
  • Loading branch information
ifblooms committed Aug 16, 2021
1 parent b13c343 commit 8c4651f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/next/src/form-item/main.scss
Expand Up @@ -79,13 +79,13 @@
}

.#{$form-item-cls}-label-align-left {
>.#{$form-item-cls}-label {
> .#{$form-item-cls}-label {
justify-content: flex-start;
}
}

.#{$form-item-cls}-label-align-right {
>.#{$form-item-cls}-label {
> .#{$form-item-cls}-label {
justify-content: flex-end;
}
}
Expand Down Expand Up @@ -168,7 +168,7 @@
height: 100%;
padding-left: 2px;
}
.#{$css-prefix}transfer{
.#{$css-prefix}transfer {
display: flex;
align-items: center;
}
Expand Down Expand Up @@ -244,7 +244,7 @@
min-height: $form-element-small-height;
}

.#{$form-item-cls}-label>label {
.#{$form-item-cls}-label > label {
height: $form-element-small-height;
}
}
Expand Down Expand Up @@ -293,7 +293,7 @@
min-height: $form-element-large-height;
}

.#{$form-item-cls}-label>label {
.#{$form-item-cls}-label > label {
height: $form-element-large-height;
}
}
Expand Down Expand Up @@ -350,10 +350,10 @@
}

.#{$form-item-cls}-fullness {
>.#{$form-item-cls}-control {
>.#{$form-item-cls}-control-content {
>.#{$form-item-cls}-control-content-component {
>*:first-child:not(.#{$css-prefix}switch) {
> .#{$form-item-cls}-control {
> .#{$form-item-cls}-control-content {
> .#{$form-item-cls}-control-content-component {
> *:first-child:not(.#{$css-prefix}switch, .#{$css-prefix}icon, .anticon) {
width: 100%;
}
}
Expand Down Expand Up @@ -408,4 +408,4 @@

.#{$form-item-cls}-success-help {
color: $form-success-color;
}
}

0 comments on commit 8c4651f

Please sign in to comment.