From 922663bf63ef65141f44de56faba34b9c16d7518 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 @@

- +