From b3c556e86e5a34fc4d77a119e9d05ea164469587 Mon Sep 17 00:00:00 2001 From: neri Date: Thu, 9 Sep 2021 20:14:45 +0200 Subject: [PATCH] set textarea height relative to view-height --- static/index.css | 4 ++++ template/index.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/static/index.css b/static/index.css index fb00595..6560d01 100644 --- a/static/index.css +++ b/static/index.css @@ -59,6 +59,10 @@ textarea, max-width: calc(100vw - 2rem); } +textarea { + height: 30vh; +} + *.hidden { display: none; } diff --git a/template/index.html b/template/index.html index 5b1b2a2..3105ff6 100644 --- a/template/index.html +++ b/template/index.html @@ -17,7 +17,7 @@

- +