mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
style(reply modal): remove comment placeholder, adjust height
This commit is contained in:
@@ -103,10 +103,9 @@ const ReplyModal = ({ closeModal, parentCid, scrollY }: ReplyModalProps) => {
|
|||||||
</span>
|
</span>
|
||||||
<textarea
|
<textarea
|
||||||
cols={48}
|
cols={48}
|
||||||
rows={4}
|
rows={3}
|
||||||
wrap='soft'
|
wrap='soft'
|
||||||
ref={textRef}
|
ref={textRef}
|
||||||
placeholder={_.capitalize(t('comment'))}
|
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
const content = e.target.value.replace(/\n/g, '\n\n');
|
const content = e.target.value.replace(/\n/g, '\n\n');
|
||||||
setContent.content(content);
|
setContent.content(content);
|
||||||
|
|||||||
Reference in New Issue
Block a user