Skip to content

Commit

Permalink
fix: input 组件在暗黑模式下 label 颜色错误 (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
oasis-cloud authored Feb 6, 2023
1 parent 04c4f37 commit 6274393
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
21 changes: 3 additions & 18 deletions src/packages/input/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,9 @@ textarea {
border: 0;
text-decoration: none;
}
// &-label {
// width: 80px;
// overflow: hidden;
// text-align: left;
// display: flex;
// .label-string {
// overflow: hidden;
// white-space: nowrap;
// text-overflow: ellipsis;
// color: $gray1;
// }
// }
.label-string {
color: $gray1;
}
&__clear {
width: 16px;
height: 16px;
Expand Down Expand Up @@ -114,11 +105,6 @@ textarea {
vertical-align: middle;
}
&-right-mark {
// .nut-input-value {
// display: flex;
// align-items: center;
// justify-content: space-between;
// }
.nut-input-main-con {
display: flex;
align-items: center;
Expand Down Expand Up @@ -160,7 +146,6 @@ textarea {
margin-top: 4px;
color: #808080;
font-size: 12px;
// line-height: var(--van-field-word-limit-line-height);
}
&-left-icon,
&-right-icon {
Expand Down
2 changes: 0 additions & 2 deletions src/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,6 @@ $inputnumber-display: var(--nutui-inputnumber-display, flex) !default;
$zindex-actionsheet: var(--nutui-zindex-actionsheet, 10001) !default;
$body-background: var(--nutui-body-background, #f6f6f6) !default;
$light-color: var(--nutui-light-color, #f6f6f6) !default;
$font-size-base: $font-size-2;
$font-size-small: $font-size-1;
$actionsheet-light-color: var(
--nutui-actionsheet-light-color,
#f6f6f6
Expand Down

0 comments on commit 6274393

Please sign in to comment.