Skip to content

Commit

Permalink
fix: fix #551
Browse files Browse the repository at this point in the history
  • Loading branch information
yinshuxun authored and fengtianze committed Mar 13, 2024
1 parent 6146601 commit b37e8bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions src/input/input.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,17 @@
@include outline-shadow(primary);
}

&[disable],
&[disabled] {
color: use-text-color(disabled);
background-color: use-rgb(n-8);
border-color: use-rgb(n-7) !important;
}

&[disabled] {
color: use-text-color(disabled);
-webkit-text-fill-color: use-text-color(disabled);
cursor: not-allowed;
}

&[readonly] {
color: use-text-color(main);
-webkit-text-fill-color: use-text-color(main);
background-color: use-rgb(n-8);
border-color: use-rgb(n-7);
cursor: default;
}

Expand Down
2 changes: 1 addition & 1 deletion src/select/select.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}

&__input-inaction {
background-color: use-rgb(main-bg);
background-color: use-rgb(main-bg) !important;
border-color: use-rgb(n-7) !important;
cursor: text;

Expand Down

0 comments on commit b37e8bc

Please sign in to comment.