From 0ec3f77653f381c9d7cf0bce91753b05e0608dcc Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 9 Mar 2024 21:30:39 +0100 Subject: [PATCH] fix increase of textarea in desktop vue --- src/static/css/style.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/static/css/style.css b/src/static/css/style.css index 0e15024..0c2d86d 100644 --- a/src/static/css/style.css +++ b/src/static/css/style.css @@ -1,3 +1,7 @@ +:root { + --font-size: xx-large; +} + html { font-family: "Courier New", Courier, monospace; } @@ -64,7 +68,7 @@ aside textarea { min-height: 15em; resize: none; overflow: hidden; - font-size: xx-large; + font-size: var(--font-size); } aside div { @@ -77,6 +81,7 @@ aside div::after { content: attr(data-replicated-value) " "; white-space: pre-wrap; visibility: hidden; + font-size: var(--font-size); } aside div > textarea, @@ -92,11 +97,14 @@ aside div::after { float: unset; } + /* reset other values */ aside textarea { - /* reset other values */ min-width: inherit; font-size: inherit; } + /* aside div::after { + font-size: inherit; + } */ } /* index listing of posts */