mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-05 13:57:47 +00:00
disable select on non-inputs closes #26
This commit is contained in:
+5
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user