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.
This commit is contained in:
Samuel Mannehed 2022-10-28 16:06:34 +02:00
parent f0fea1fccd
commit 82253c1f1a
1 changed files with 2 additions and 0 deletions

View File

@ -575,6 +575,8 @@ html {
box-sizing: border-box; box-sizing: border-box;
max-width: 100%; max-width: 100%;
/* minus approximate height of title, height of subtitle, and margin */
max-height: calc(100vh - 10em - 25px);
} }
/* Settings */ /* Settings */