set textarea height relative to view-height

This commit is contained in:
neri 2021-09-09 20:14:45 +02:00
parent f417783821
commit 922663bf63
2 changed files with 5 additions and 1 deletions

View File

@ -59,6 +59,10 @@ textarea,
max-width: calc(100vw - 2rem);
}
textarea {
height: 30vh;
}
*.hidden {
display: none;
}

View File

@ -17,7 +17,7 @@
<br />
<label for="text-upload">oder asciitrash</label>
<br />
<textarea id="text-upload" name="text" rows="20" cols="120"></textarea>
<textarea id="text-upload" name="text" cols="120"></textarea>
<br />
<label for="keep_for">gültig für</label>
<select id="keep_for" name="keep_for">