From 1f3c65a5042337c053819385f2548774d877bcbf Mon Sep 17 00:00:00 2001 From: abaevbog Date: Tue, 9 Jan 2024 05:58:34 -0500 Subject: [PATCH] fix to textarea extra line at the bottom on win --- scss/elements/_editableText.scss | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scss/elements/_editableText.scss b/scss/elements/_editableText.scss index 8439a4ce48..fbaa9dea43 100644 --- a/scss/elements/_editableText.scss +++ b/scss/elements/_editableText.scss @@ -111,9 +111,11 @@ editable-text { &[hidden]{ display: none; } - // somehow it fixes extra tall textareas on windows that was rendered to have at least - // 3 rows even when there's no text - textarea { - overflow: hidden; + // Per https://stackoverflow.com/a/22700700, somehow this removes an extra half-line + // at the bottom of textarea on windows + @media (-moz-platform: windows) { + textarea { + overflow-x: hidden; + } } }