Skip to content

Commit

Permalink
fix: input disabled text color in safari
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxiaolang authored and fengtianze committed Feb 3, 2023
1 parent f7158bb commit 87b9ae2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/friendly-birds-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alauda/ui": patch
---

fix: number-input border blocked and input disabled text color in safari
1 change: 1 addition & 0 deletions src/input/input.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
background-color: use-rgb(n-8);
border-color: use-rgb(n-7) !important;
color: use-text-color(disabled);
-webkit-text-fill-color: use-text-color(disabled);
cursor: not-allowed;
}

Expand Down
1 change: 1 addition & 0 deletions src/input/number-input/number-input.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ $block: 'aui-number-input';
border-radius: inherit;
background-color: inherit;
color: inherit;
-webkit-text-fill-color: inherit;
cursor: inherit;
outline: none;
}
Expand Down

0 comments on commit 87b9ae2

Please sign in to comment.