@@ -6,10 +6,15 @@ html, body, #root {
66 padding : 0 ;
77 width : 100% ;
88 height : 100% ;
9- background-color : black; /* Outside the monitor: black */
10- overflow : hidden !important ; /* Disable all scrolling */
11- touch-action : none !important ; /* Disable touch scrolling */
12- overscroll-behavior : none !important ; /* Prevent scroll chaining */
9+ background-color : black; /* Outside the monitor: black */
10+ overflow : hidden !important ; /* Disable scrolling */
11+ touch-action : none !important ; /* Disable touch gestures */
12+ overscroll-behavior : none !important ; /* Prevent scroll chaining */
13+ -webkit-user-select : none !important ; /* Disable text selection in WebKit */
14+ -moz-user-select : none !important ; /* Disable text selection in Firefox */
15+ -ms-user-select : none !important ; /* Disable text selection in IE10+ */
16+ user-select : none !important ; /* Standard property */
17+ -webkit-tap-highlight-color : transparent !important ; /* Remove tap highlight flash */
1318 font-family : -apple-system, BlinkMacSystemFont, 'Segoe UI' , 'Roboto' , sans-serif;
1419}
1520
@@ -30,10 +35,18 @@ body > iframe {
3035 overflow : hidden !important ;
3136 touch-action : none !important ;
3237 overscroll-behavior : none !important ;
38+ -webkit-user-select : none !important ;
39+ -moz-user-select : none !important ;
40+ -ms-user-select : none !important ;
41+ user-select : none !important ;
3342}
3443
35- /* Block any remaining overscroll on all elements */
44+ /* Apply to all elements, to be sure no child can be selected */
3645* {
46+ -webkit-user-select : none !important ;
47+ -moz-user-select : none !important ;
48+ -ms-user-select : none !important ;
49+ user-select : none !important ;
3750 touch-action : none !important ;
3851 overscroll-behavior : none !important ;
3952}
0 commit comments