From ebea984ab4380d977014afe2620265c61825fdaf Mon Sep 17 00:00:00 2001 From: leedom Date: Sat, 1 Apr 2023 07:26:45 +0800 Subject: [PATCH] style: optimize the height of textarea when it blurs on mobile --- app/components/home.module.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/components/home.module.scss b/app/components/home.module.scss index 764805d80..fecc1614b 100644 --- a/app/components/home.module.scss +++ b/app/components/home.module.scss @@ -422,6 +422,11 @@ @media only screen and (max-width: 600px) { .chat-input { font-size: 16px; + height: 25px; + + &:focus { + height: auto; + } } }