mirror of https://github.com/gorhill/uBlock.git
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:
parent
b778f9dac2
commit
e68537513f
|
@ -855,16 +855,15 @@ pickerRoot.style.cssText = [
|
||||||
'border: 0',
|
'border: 0',
|
||||||
'border-radius: 0',
|
'border-radius: 0',
|
||||||
'box-shadow: none',
|
'box-shadow: none',
|
||||||
'color-scheme: light',
|
|
||||||
'display: block',
|
'display: block',
|
||||||
'height: 100%',
|
'height: 100%',
|
||||||
'left: 0',
|
'left: 0',
|
||||||
'margin: 0',
|
'margin: 0',
|
||||||
'opacity: 1',
|
'opacity: 1',
|
||||||
'position: fixed',
|
|
||||||
'outline: 0',
|
'outline: 0',
|
||||||
'padding: 0',
|
'padding: 0',
|
||||||
'pointer-events:none;',
|
'pointer-events:none;',
|
||||||
|
'position: fixed',
|
||||||
'top: 0',
|
'top: 0',
|
||||||
'visibility: visible',
|
'visibility: visible',
|
||||||
'width: 100%',
|
'width: 100%',
|
||||||
|
|
Loading…
Reference in New Issue