mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
added omitted replies summary
This commit is contained in:
@@ -540,6 +540,16 @@ const Board = ({ setBodyStyle }) => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<span class="summary">
|
||||
{omittedCount > 0 ? (
|
||||
<span key={`oc-${thread.cid}`} className="ttl">
|
||||
<span key={`oc1-${thread.cid}`}>
|
||||
{omittedCount} post{omittedCount > 1 ? "s" : ""} omitted. Click
|
||||
<Link key={`oc2-${thread.cid}`} to={`/${selectedAddress}/thread/${thread.cid}`} onClick={() => handleClickThread(thread.cid)} className="ttl-link">here</Link>
|
||||
to view.
|
||||
</span>
|
||||
</span>) : null}
|
||||
</span>
|
||||
{renderedComments.map(reply => {
|
||||
return (
|
||||
<div key={`pc-${reply.cid}`} className="reply-container">
|
||||
|
||||
@@ -1549,6 +1549,10 @@ export const BoardForm = styled.div`
|
||||
#bottombar-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.summary {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
|
||||
Reference in New Issue
Block a user