add icons to thread mobile

This commit is contained in:
plebeius.eth
2023-06-29 09:03:12 +02:00
parent c8be8e6b19
commit cfdc7109e1
+12
View File
@@ -1494,6 +1494,18 @@ const Thread = () => {
</span>
)&nbsp;
</span>
<span key={`ti-mob-${index}`} className="thread-icons-mobile" style={{float: "right", marginRight: "18px"}}>
{comment.pinned ? (
<img src="assets/sticky.gif" alt="Sticky" title="Sticky"
style={{marginTop: "-1px", marginRight: "2px",
imageRendering: "pixelated",}} />
) : null}
{comment.locked ? (
<img src="assets/closed.gif" alt="Closed" title="Closed"
style={{marginTop: "-1px", marginRight: "2px",
imageRendering: "pixelated",}} />
) : null}
</span>
<br key={`mob-br1-${comment.cid}`} />
{comment.title ? (
comment.title.length > 30 ?