From 82253c1f1aee69bc7302de68a855e51588a4f58b Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Fri, 28 Oct 2022 16:06:34 +0200 Subject: [PATCH] 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. --- app/styles/base.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/styles/base.css b/app/styles/base.css index 79ada87f..df2123b3 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 */