summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mannehed <samuel@cendio.se>2020-05-01 13:30:01 +0200
committerSamuel Mannehed <samuel@cendio.se>2020-05-01 13:35:34 +0200
commitc12e5b2b544aff6f662c7f61f82ce40d132e14df (patch)
tree065bb2a808583f1916bc53a9f945979b0d45abca
parent302895cdf3d4ecf288ebc7f00d38e51e61273c62 (diff)
downloadnovnc-c12e5b2b544aff6f662c7f61f82ce40d132e14df.tar.gz
Hide the clipboard when not connected
Fixes github issue #1367.
-rw-r--r--app/styles/base.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/styles/base.css b/app/styles/base.css
index d87fa4f..ae9768d 100644
--- a/app/styles/base.css
+++ b/app/styles/base.css
@@ -663,6 +663,9 @@ select:active {
:root:not(.noVNC_connected) #noVNC_clipboard_button {
display: none;
}
+:root:not(.noVNC_connected) #noVNC_clipboard {
+ display: none;
+}
#noVNC_clipboard {
/* Full screen, minus padding and left and right margins */
max-width: calc(100vw - 2*15px - 75px - 25px);