From b9a57897c54241f3700cbe333362b9f0b34eba93 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Wed, 29 Jun 2016 17:24:51 -0700 Subject: [PATCH] GUACAMOLE-55: Set background to clipboard-service-target to match clipboard editor. Browser may otherwise explicitly add the background of the body to pasted text with inline styles. --- guacamole/src/main/webapp/app/clipboard/styles/clipboard.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/guacamole/src/main/webapp/app/clipboard/styles/clipboard.css b/guacamole/src/main/webapp/app/clipboard/styles/clipboard.css index 838b8b47a..8f4df25b1 100644 --- a/guacamole/src/main/webapp/app/clipboard/styles/clipboard.css +++ b/guacamole/src/main/webapp/app/clipboard/styles/clipboard.css @@ -17,6 +17,10 @@ * under the License. */ +.clipboard, .clipboard-service-target { + background: white; +} + .clipboard { position: relative; border: 1px solid #AAA; @@ -24,7 +28,6 @@ -webkit-border-radius: 0.25em; -khtml-border-radius: 0.25em; border-radius: 0.25em; - background: white; width: 100%; height: 2in; white-space: pre;