Răsfoiți Sursa

prevent user-selection of info/dg text

WestLangley 6 ani în urmă
părinte
comite
929fa2a68c
1 a modificat fișierele cu 8 adăugiri și 0 ștergeri
  1. 8 0
      examples/main.css

+ 8 - 0
examples/main.css

@@ -32,9 +32,17 @@ canvas {
 	padding: 10px;
 	padding: 10px;
 	box-sizing: border-box;
 	box-sizing: border-box;
 	text-align: center;
 	text-align: center;
+	-moz-user-select: none;
+	-webkit-user-select: none;
+	-ms-user-select: none;
+	user-select: none;
 	z-index: 1; /* TODO Solve this in HTML */
 	z-index: 1; /* TODO Solve this in HTML */
 }
 }
 
 
 .dg.ac {
 .dg.ac {
+	-moz-user-select: none;
+	-webkit-user-select: none;
+	-ms-user-select: none;
+	user-select: none;
 	z-index: 2 !important; /* TODO Solve this in HTML */
 	z-index: 2 !important; /* TODO Solve this in HTML */
 }
 }