mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-02 03:40:17 +00:00
increases line height to center the text in input
This commit is contained in:
parent
cd3e0e34ea
commit
df9472d04c
@ -48,7 +48,7 @@ export default function Conversation() {
|
||||
<div
|
||||
ref={inputRef}
|
||||
contentEditable
|
||||
className={`border-000000 overflow-x-hidden; max-h-24 min-h-[2.6rem] w-full overflow-y-auto whitespace-pre-wrap rounded-xl border bg-white p-2 pr-9 opacity-100 focus:border-2 focus:outline-none`}
|
||||
className={`border-000000 overflow-x-hidden; max-h-24 min-h-[2.6rem] w-full overflow-y-auto whitespace-pre-wrap rounded-xl border bg-white p-2 pr-9 leading-7 opacity-100 focus:border-2 focus:outline-none`}
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === 'Enter' && !e.shiftKey) {
|
||||
e.preventDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user