summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mannehed <samuel@cendio.se>2022-10-28 16:04:45 +0200
committerSamuel Mannehed <samuel@cendio.se>2022-10-28 16:04:45 +0200
commitf0fea1fccd503f33b2776fdb45f25c1bbe2fe3d5 (patch)
treea05875b8cd126860cbe9565ee70ec3d7f61f2555
parent6b2357061e1b0865673e1c2c45191d2236080c32 (diff)
downloadnovnc-f0fea1fccd503f33b2776fdb45f25c1bbe2fe3d5.tar.gz
Fix max-width of clipboard textarea
It should not be able to "eat" its parent-panel's padding. By setting box-sizing: border-box we can prevent this.
-rw-r--r--app/styles/base.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/styles/base.css b/app/styles/base.css
index b015b4d..79ada87 100644
--- a/app/styles/base.css
+++ b/app/styles/base.css
@@ -572,6 +572,8 @@ html {
}
#noVNC_clipboard_text {
width: 500px;
+
+ box-sizing: border-box;
max-width: 100%;
}