mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(mobile reply): remove unnecessary width calculation for reply images
This commit is contained in:
@@ -2752,11 +2752,7 @@ const All = () => {
|
||||
</div>
|
||||
) : replyMediaInfo.type === 'image' ? (
|
||||
<div key={`enlarge-mob-reply-${index}`} className='img-container'>
|
||||
<span
|
||||
key={`mob-ft${reply.cid}`}
|
||||
className='file-thumb-mobile'
|
||||
style={isMobileReplyThumbnailClicked[index] ? {} : { width: displayWidthMobile, height: displayHeightMobile }}
|
||||
>
|
||||
<span key={`mob-ft${reply.cid}`} className='file-thumb-mobile'>
|
||||
<img
|
||||
key={`mob-img-${index}`}
|
||||
src={replyMediaInfo.url}
|
||||
|
||||
@@ -3803,11 +3803,7 @@ const Board = () => {
|
||||
</div>
|
||||
) : replyMediaInfo.type === 'image' ? (
|
||||
<div key={`enlarge-mob-reply-${index}`} className='img-container'>
|
||||
<span
|
||||
key={`mob-ft${reply.cid}`}
|
||||
className='file-thumb-mobile'
|
||||
style={isMobileReplyThumbnailClicked[index] ? {} : { width: displayWidthMobile, height: displayHeightMobile }}
|
||||
>
|
||||
<span key={`mob-ft${reply.cid}`} className='file-thumb-mobile'>
|
||||
<img
|
||||
key={`mob-img-${index}`}
|
||||
src={replyMediaInfo.url}
|
||||
|
||||
@@ -2762,11 +2762,7 @@ const Subscriptions = () => {
|
||||
</div>
|
||||
) : replyMediaInfo.type === 'image' ? (
|
||||
<div key={`enlarge-mob-reply-${index}`} className='img-container'>
|
||||
<span
|
||||
key={`mob-ft${reply.cid}`}
|
||||
className='file-thumb-mobile'
|
||||
style={isMobileReplyThumbnailClicked[index] ? {} : { width: displayWidthMobile, height: displayHeightMobile }}
|
||||
>
|
||||
<span key={`mob-ft${reply.cid}`} className='file-thumb-mobile'>
|
||||
<img
|
||||
key={`mob-img-${index}`}
|
||||
src={replyMediaInfo.url}
|
||||
|
||||
Reference in New Issue
Block a user