1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-19 11:18:42 +02:00

Sort of fix DOM inspector's visual with webpages in dark theme mode

Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2359#discussioncomment-4126129

Removing `color-scheme` property fixes the issue. Not sure why.
This commit is contained in:
Raymond Hill 2022-11-14 11:49:59 -05:00
parent b778f9dac2
commit e68537513f
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -855,16 +855,15 @@ pickerRoot.style.cssText = [
'border: 0',
'border-radius: 0',
'box-shadow: none',
'color-scheme: light',
'display: block',
'height: 100%',
'left: 0',
'margin: 0',
'opacity: 1',
'position: fixed',
'outline: 0',
'padding: 0',
'pointer-events:none;',
'position: fixed',
'top: 0',
'visibility: visible',
'width: 100%',