summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mannehed <samuel@cendio.se>2022-10-28 16:06:34 +0200
committerSamuel Mannehed <samuel@cendio.se>2022-10-28 16:06:34 +0200
commit82253c1f1aee69bc7302de68a855e51588a4f58b (patch)
tree482fd39a0f090259a02b4da04edb21f489066b07
parentf0fea1fccd503f33b2776fdb45f25c1bbe2fe3d5 (diff)
downloadnovnc-82253c1f1aee69bc7302de68a855e51588a4f58b.tar.gz
Don't let the clipboard textarea grow too high
There are scrollbars inside the textarea in case there's a lot of text in there. We can limit the height of the element, it looks better.
-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 79ada87..df2123b 100644
--- a/app/styles/base.css
+++ b/app/styles/base.css
@@ -575,6 +575,8 @@ html {
box-sizing: border-box;
max-width: 100%;
+ /* minus approximate height of title, height of subtitle, and margin */
+ max-height: calc(100vh - 10em - 25px);
}
/* Settings */