Hide the clipboard when not connected

Fixes github issue #1367.
This commit is contained in:
Samuel Mannehed 2020-05-01 13:30:01 +02:00 committed by Lauri Kasanen
parent 950d871b0e
commit a015e33111

View File

@ -679,6 +679,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);