sakura icon indicating copy to clipboard operation
sakura copied to clipboard

Disabled buttons are not displayed correctly

Open h-banii opened this issue 1 year ago • 0 comments

It used to look like this ( before 3b8050f8 )

Firefox Chromium
image image

After that the disabled buttons don't appear correctly

Firefox Chromium
image image

The problem seems to be on the file input

/* currently it's like this */
input[type=file]::file-selector-button[disabled]

/* it should probably be */
input[type=file][disabled]

/* or */
input[type=file][disabled]::file-selector-button

A similar thing seems to be happening with the :focus-visible pseudo-class, but :hover is working

h-banii avatar Jan 28 '24 07:01 h-banii