From f50db430eb00e81118dd7fead6c50e29110ad5ac Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 25 Aug 2023 20:28:23 +0300 Subject: [PATCH] Try fixing textareas resizing on character editor --- public/style.css | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/public/style.css b/public/style.css index 2d5e30ca7..08d3edd5c 100644 --- a/public/style.css +++ b/public/style.css @@ -916,12 +916,22 @@ select { white-space: nowrap; } +@media screen and (max-width: 1000px) { + #form_create textarea { + flex-grow: 1; + } +} +@media screen and (min-width: 1001px) { + #description_textarea { + height: 33vh; + height: 33svh; + } -#description_textarea, -#firstmessage_textarea { - height: -webkit-fill-available; - width: -moz-available; + #firstmessage_textarea { + resize: none; + flex: 1; + } } #character_name_pole { @@ -1550,10 +1560,6 @@ input[type=search]:focus::-webkit-search-cancel-button { overflow-y: auto; } -#form_create textarea { - flex-grow: 1; -} - .avatar_div { display: flex; width: 100%; @@ -3520,4 +3526,4 @@ a { z-index: 10; margin-left: 10px; /* Give some space between the button and search box */ -} \ No newline at end of file +}