mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
added ReplyModal placeholder
This commit is contained in:
@@ -185,8 +185,9 @@ const ReplyModal = ({ isOpen, closeModal }) => {
|
|||||||
<div>
|
<div>
|
||||||
<input id="name" type="text" placeholder="Embed link" ref={linkRef} />
|
<input id="name" type="text" placeholder="Embed link" ref={linkRef} />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div className="textarea-wrapper">
|
||||||
<textarea rows="4" placeholder="Comment" wrap="soft" ref={commentRef} />
|
<span className="fixed-text">{`c/${selectedShortCid}`}</span>
|
||||||
|
<textarea className="textarea" rows="4" placeholder="Comment" wrap="soft" ref={commentRef} />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<button id="next" onClick={handleSubmit}>Post</button>
|
<button id="next" onClick={handleSubmit}>Post</button>
|
||||||
|
|||||||
@@ -56,6 +56,23 @@ export const StyledModal = styled(Modal)`
|
|||||||
margin-top: 0.5px;
|
margin-top: 0.5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.textarea-wrapper {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.textarea {
|
||||||
|
padding-top: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fixed-text {
|
||||||
|
position: absolute;
|
||||||
|
top: 4px;
|
||||||
|
left: 5px;
|
||||||
|
color: #999;
|
||||||
|
text-decoration: underline;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
#captcha-container {
|
#captcha-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|||||||
Reference in New Issue
Block a user