Skip to content

Commit

Permalink
fix(reset): disabled select opacity in Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed May 17, 2024
1 parent 7da2b14 commit b8b9116
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/lemon-mirrors-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"css-homogenizer": patch
---

fix(reset): disabled select opacity in Chrome
5 changes: 5 additions & 0 deletions reset-scoped.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,8 @@
._select {
border-radius: 0;
}

/* Chrome-only */
._select:disabled {
opacity: 1;
}
5 changes: 5 additions & 0 deletions reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,8 @@ textarea::placeholder {
select {
border-radius: 0;
}

/* Chrome-only */
select:disabled {
opacity: 1;
}

0 comments on commit b8b9116

Please sign in to comment.