diff options
author | Samuel Mannehed <samuel@cendio.se> | 2022-11-02 16:38:12 +0100 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2022-11-02 16:38:12 +0100 |
commit | 081f9d2a13795ee70a1632a1aca3efb0498d35f6 (patch) | |
tree | 897e4a96ef3875507b2040b86ac6d291425357d4 /app | |
parent | 7e29e02ce44517699fc8a29a59e5598494e94715 (diff) | |
download | novnc-081f9d2a13795ee70a1632a1aca3efb0498d35f6.tar.gz |
Disable iOS long-press popup for sidebar images
In order to make the sidebar feel more like a GUI element from a real
application, we can disable the long-press image popup on iOS. Note that
this only has an effect on iOS devices.
Diffstat (limited to 'app')
-rw-r--r-- | app/styles/base.css | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/styles/base.css b/app/styles/base.css index ffc2b4f..7ab1a6d 100644 --- a/app/styles/base.css +++ b/app/styles/base.css @@ -248,6 +248,7 @@ html { user-select: none; -webkit-user-select: none; + -webkit-touch-callout: none; /* Disable iOS image long-press popup */ } #noVNC_control_bar.noVNC_open { box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5); |