disable select on non-inputs closes #26

This commit is contained in:
2022-12-12 11:49:27 -06:00
committed by GitHub
parent 040b81dcbe
commit b450d79d8e
+5 -1
View File
@@ -53,7 +53,6 @@ a {
text-align: right;
padding-left: 100px;
padding-right: 7px;
user-select: text;
-webkit-app-region: drag;
z-index: 1000;
}
@@ -340,3 +339,8 @@ select.button:focus {
/* Support for IE. */
font-feature-settings: 'liga';
}
/* only allow select on input fields */
body :not(input):not(select):not(textarea) {
user-select: none;
}