mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Prevent users selecting elements of the UI that shouldn't be selectable. Fixes #1976
This commit is contained in:
@@ -1450,3 +1450,18 @@ table.backgrid {
|
||||
.backgrid td.editor input[type=password]::-ms-clear {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Disable text selection where not wanted */
|
||||
body {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.enable-selection, .form-control, .backgrid td {
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
Reference in New Issue
Block a user