Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix #551 #553

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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] {
yinshuxun marked this conversation as resolved.
Show resolved Hide resolved
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);
yinshuxun marked this conversation as resolved.
Show resolved Hide resolved
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
Loading