diff --git a/src/components/styled/views/Board.styled.jsx b/src/components/styled/views/Board.styled.jsx index 22421be0..20fcc6fa 100644 --- a/src/components/styled/views/Board.styled.jsx +++ b/src/components/styled/views/Board.styled.jsx @@ -2070,6 +2070,19 @@ export const BoardForm = styled.div` margin: 7px 2px 0; padding-left: 0; + .button-mobile { + float: right; + border-radius: 3px; + padding: 6px 10px 5px; + user-select: none; + text-decoration: none; + } + + video { + width: 100%; + height: auto; + } + .post-reply { margin-top: 0 !important; width: 100%; diff --git a/src/components/views/Board.jsx b/src/components/views/Board.jsx index 5965aa5c..53853fc2 100755 --- a/src/components/views/Board.jsx +++ b/src/components/views/Board.jsx @@ -2652,13 +2652,35 @@ const Board = () => { ) : replyMediaInfo.type === "video" ? ( - - e.target.src = fallbackImgUrl} /> - {replyMediaInfo.type} - + + {isMobileReplyThumbnailClicked[index] ? ( + e.target.src = fallbackImgUrl} /> + ) : ( + {handleThumbnailClick(index, 'mobileReply')}} + style={{cursor: "pointer"}} + id="video-thumbnail-mobile" + onError={(e) => e.target.src = fallbackImgUrl} + /> + )} + {replyMediaInfo?.type === "video" || "iframe" ? ( + isMobileReplyThumbnailClicked[index] ? ( + + {handleThumbnailClick(index, 'mobileReply')}} + >Close + + ) : ( + video + )) : video} + ) : replyMediaInfo.type === "audio" ? (