set textarea height relative to view-height

master
neri 11 months ago
parent f417783821
commit 922663bf63
  1. 4
      static/index.css
  2. 2
      template/index.html

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

@ -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">

Loading…
Cancel
Save