Fix :disabled styling of file-selector-button

By applying the rule to the button within the input, we effectively
applied the opacity twice - making the button almost disappear. Applying
the opacity to the input element is enough.
This commit is contained in:
Samuel Mannehed
2025-01-12 19:50:10 +01:00
parent 33a2548fcb
commit 30d46a00fa

View File

@@ -381,7 +381,6 @@ input[type=file]:focus-visible {
* Disabled
*/
input:disabled,
input:disabled::file-selector-button,
button:disabled,
select:disabled,
textarea:disabled {