From 584ce066988d143d793f820727eb22be3bf99530 Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Wed, 2 Nov 2022 16:22:54 +0100 Subject: [PATCH] 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. --- app/styles/base.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/styles/base.css b/app/styles/base.css index 7e5b6930..1ff7f8e9 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);