mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 22:53:59 +01:00
style: textarea
This commit is contained in:
parent
710f4c3f65
commit
b6656f43e7
|
@ -300,13 +300,13 @@ const EditView = ({
|
||||||
<>
|
<>
|
||||||
<textarea
|
<textarea
|
||||||
ref={textareaRef}
|
ref={textareaRef}
|
||||||
className='m-0 resize-none border border-gray-400/30 rounded-lg bg-transparent px-2 py-1 overflow-y-hidden focus:ring-0 focus-visible:ring-0'
|
className='m-0 resize-none rounded-lg bg-transparent overflow-y-hidden focus:ring-0 focus-visible:ring-0 focus:outline-none leading-7'
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
_setContent(e.target.value);
|
_setContent(e.target.value);
|
||||||
}}
|
}}
|
||||||
value={_content}
|
value={_content}
|
||||||
onInput={handleInput}
|
onInput={handleInput}
|
||||||
rows={10}
|
rows={1}
|
||||||
></textarea>
|
></textarea>
|
||||||
<div className='text-center mt-2 flex justify-center'>
|
<div className='text-center mt-2 flex justify-center'>
|
||||||
<button
|
<button
|
||||||
|
|
Loading…
Reference in a new issue