From 4761fd40ba02a9a65b5a692680f194efc5ef3e03 Mon Sep 17 00:00:00 2001 From: liquidev Date: Sat, 24 Aug 2024 17:54:43 +0200 Subject: [PATCH] fix sizing of the brush-editor textarea --- static/index.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/index.css b/static/index.css index 450ae7f..c261380 100644 --- a/static/index.css +++ b/static/index.css @@ -215,12 +215,14 @@ rkgk-reticle-cursor { rkgk-brush-editor { &>.text-area { - box-sizing: border-box; width: 100%; margin: 0; + padding-top: 0.4em; /* to account for line-height */ resize: none; white-space: pre-wrap; border: none; + overflow: hidden; + box-sizing: border-box; } &>.errors:empty, &>.error-header:empty {