perf(board): remove redundant margin, might impact virtuoso

This commit is contained in:
plebeius.eth
2023-10-20 21:20:51 +02:00
parent 6eee096934
commit a7398f5338
+3 -3
View File
@@ -1780,7 +1780,7 @@ const Board = () => {
<hr key={`hr-${index}`} />
<div key={`pi-${index}`} className='post-info'>
{commentMediaInfo?.url ? (
<div key={`f-${index}`} className='file' style={{ marginBottom: '5px' }}>
<div key={`f-${index}`} className='file'>
<div key={`ft-${index}`} className='file-text'>
Link:&nbsp;
<a key={`fa-${index}`} href={commentMediaInfo.url} target='_blank' rel='noopener noreferrer'>
@@ -2027,7 +2027,7 @@ const Board = () => {
{thread.pinned ? (
<>
&nbsp;
<img src='assets/sticky.gif' alt='Sticky' title='Sticky' style={{ marginBottom: '-1px', imageRendering: 'pixelated' }} />
<img src='assets/sticky.gif' alt='Sticky' title='Sticky' style={{ imageRendering: 'pixelated' }} />
</>
) : null}
{thread.locked ? (
@@ -2761,7 +2761,7 @@ const Board = () => {
</div>
</div>
{replyMediaInfo?.url ? (
<div key={`f-${index}`} className='file' style={{ marginBottom: '5px' }}>
<div key={`f-${index}`} className='file'>
<div key={`ft-${index}`} className='file-text'>
Link:&nbsp;
<a key={`fa-${index}`} href={replyMediaInfo.url} target='_blank' rel='noopener noreferrer'>