pointer-events: none to fix flicker on Overlay "tip"

If click-to-inspect then hover an element in just the right place, it flickers between two elements because this "tip" element catches the hover. This should fix it.
This commit is contained in:
Sophie Alpert
2019-04-08 18:26:30 -07:00
parent 267ab34fbd
commit a2d84fa613
+1
View File
@@ -58,6 +58,7 @@ export default class Overlay {
'"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace',
fontWeight: 'bold',
padding: '3px 5px',
pointerEvents: 'none',
position: 'fixed',
fontSize: '12px',
});