diff options
author | Samuel Mannehed <samuel@cendio.se> | 2022-11-02 16:22:54 +0100 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2022-11-02 16:22:54 +0100 |
commit | 584ce066988d143d793f820727eb22be3bf99530 (patch) | |
tree | 7ef6002d2d947cc6703a22617616895352efe977 /app | |
parent | 0ef75824a4a6a9a4873ddb4f9a39050ad7b87565 (diff) | |
download | novnc-584ce066988d143d793f820727eb22be3bf99530.tar.gz |
Disable selection globally on sidebar
We want to disable selections in the sidebar because when users drag
the handle, they could otherwise accidentally select stuff. This results
in a very broken state.
When selections are disabled, the sidebar also feels more like a GUI
element from a real application, and less like part of a webpage.
Diffstat (limited to 'app')
-rw-r--r-- | app/styles/base.css | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/styles/base.css b/app/styles/base.css index 7e5b693..1ff7f8e 100644 --- a/app/styles/base.css +++ b/app/styles/base.css @@ -246,6 +246,8 @@ html { background-color: rgb(110, 132, 163); border-radius: 0 10px 10px 0; + user-select: none; + -webkit-user-select: none; } #noVNC_control_bar.noVNC_open { box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5); |