added ReplyModal placeholder

This commit is contained in:
plebbitor
2023-04-18 12:44:55 +02:00
parent 9e0d8e373a
commit b6c041ea9e
2 changed files with 20 additions and 2 deletions
+3 -2
View File
@@ -185,8 +185,9 @@ const ReplyModal = ({ isOpen, closeModal }) => {
<div>
<input id="name" type="text" placeholder="Embed link" ref={linkRef} />
</div>
<div>
<textarea rows="4" placeholder="Comment" wrap="soft" ref={commentRef} />
<div className="textarea-wrapper">
<span className="fixed-text">{`c/${selectedShortCid}`}</span>
<textarea className="textarea" rows="4" placeholder="Comment" wrap="soft" ref={commentRef} />
</div>
<div>
<button id="next" onClick={handleSubmit}>Post</button>