From 4b96b73c426fbc142e143a9e48d186920eef54c0 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 29 Dec 2023 18:05:18 +0100 Subject: [PATCH] larger text input and fix mobile --- src/static/css/style.css | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/src/static/css/style.css b/src/static/css/style.css index 14be25c..6bc1e3d 100644 --- a/src/static/css/style.css +++ b/src/static/css/style.css @@ -58,6 +58,17 @@ aside button { float: right; } +aside textarea { + min-width: 40em; + min-height: 15em; + font-size: xx-large; + + /* move resize arrow to the left */ + direction: rtl; + text-align: left; +} + +/* breakpoint */ @media only screen and (max-width: 500px) { aside { float: unset; @@ -65,18 +76,15 @@ aside button { aside textarea { width: 98%; + + /* reset other values */ + font-size: inherit; + min-width: inherit; + direction: inherit; + text-align: inherit; } } -aside textarea { - min-width: 20em; - min-height: 7em; - - /* move resize arrow to the left */ - direction: rtl; - text-align: left; -} - /* index listing of posts */ ul { list-style: none;