perf(board): improve scroll on mobile

This commit is contained in:
plebeius.eth
2023-10-20 14:18:17 +02:00
parent e33c3fbe95
commit 183294a66f
2 changed files with 8 additions and 23 deletions
+1 -5
View File
@@ -3139,11 +3139,7 @@ const Board = () => {
})}
</div>
<div key={`mob-t-${index}`} className='thread-mobile'>
{index === 0 && !subplebbit.rules && !subplebbit.description ? (
<hr key={`mob-hr-${index}`} style={{ marginTop: '10px' }} />
) : (
<hr key={`mob-hr-${index}`} />
)}
<hr key={`mob-hr-${index}`} />
<div key={`mob-c-${index}`} className='op-container'>
<div key={`mob-po-${index}`} className='post op op-mobile'>
<div key={`mob-pi-${index}`} className='post-info-mobile'>