mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(post): fix misplaced pin and lock icons
This commit is contained in:
@@ -2147,6 +2147,12 @@ export const BoardForm = styled.div`
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.thread-icons-mobile {
|
||||
margin-top: -1px;
|
||||
margin-right: 2px;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
padding-top: 5px;
|
||||
display: block;
|
||||
|
||||
@@ -1336,6 +1336,12 @@ export const BoardForm = styled.div`
|
||||
object-fit: scale-down;
|
||||
}
|
||||
|
||||
.thread-icons-mobile {
|
||||
margin-top: -1px;
|
||||
margin-right: 2px;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
padding-top: 5px;
|
||||
display: block;
|
||||
|
||||
@@ -1153,10 +1153,20 @@ const Board = () => {
|
||||
## Board Mods
|
||||
</span>
|
||||
|
||||
<span className='thread-icons-mobile' style={{ float: 'right', marginRight: '18px' }}>
|
||||
<img src='assets/sticky.gif' alt='Sticky' title='Sticky' style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }} />
|
||||
<span className='thread-icons-mobile'>
|
||||
<img
|
||||
src='assets/sticky.gif'
|
||||
alt='Sticky'
|
||||
title='Sticky'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
|
||||
<img src='assets/closed.gif' alt='Closed' title='Closed' style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }} />
|
||||
<img
|
||||
src='assets/closed.gif'
|
||||
alt='Closed'
|
||||
title='Closed'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
</span>
|
||||
<br />
|
||||
<span className='subject-mobile' style={{ marginBottom: '-15px' }}>
|
||||
@@ -1378,10 +1388,20 @@ const Board = () => {
|
||||
## Board Mods
|
||||
</span>
|
||||
|
||||
<span className='thread-icons-mobile' style={{ float: 'right', marginRight: '18px' }}>
|
||||
<img src='assets/sticky.gif' alt='Sticky' title='Sticky' style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }} />
|
||||
<span className='thread-icons-mobile'>
|
||||
<img
|
||||
src='assets/sticky.gif'
|
||||
alt='Sticky'
|
||||
title='Sticky'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
|
||||
<img src='assets/closed.gif' alt='Closed' title='Closed' style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }} />
|
||||
<img
|
||||
src='assets/closed.gif'
|
||||
alt='Closed'
|
||||
title='Closed'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
</span>
|
||||
<br />
|
||||
<span className='subject-mobile' style={{ marginBottom: '-15px' }}>
|
||||
@@ -1679,10 +1699,20 @@ const Board = () => {
|
||||
## Board Mods
|
||||
</span>
|
||||
|
||||
<span className='thread-icons-mobile' style={{ float: 'right', marginRight: '18px' }}>
|
||||
<img src='assets/sticky.gif' alt='Sticky' title='Sticky' style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }} />
|
||||
<span className='thread-icons-mobile'>
|
||||
<img
|
||||
src='assets/sticky.gif'
|
||||
alt='Sticky'
|
||||
title='Sticky'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
|
||||
<img src='assets/closed.gif' alt='Closed' title='Closed' style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }} />
|
||||
<img
|
||||
src='assets/closed.gif'
|
||||
alt='Closed'
|
||||
title='Closed'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
</span>
|
||||
<br />
|
||||
<span className='subject-mobile' style={{ marginBottom: '-15px' }}>
|
||||
@@ -3317,24 +3347,24 @@ const Board = () => {
|
||||
</VerifiedAuthor>
|
||||
</span>
|
||||
)
|
||||
</span>
|
||||
<span key={`ti-mob-${index}`} className='thread-icons-mobile' style={{ float: 'right', marginRight: '18px' }}>
|
||||
{thread.pinned ? (
|
||||
<img
|
||||
src='assets/sticky.gif'
|
||||
alt='Sticky'
|
||||
title='Sticky'
|
||||
style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
) : null}
|
||||
{thread.locked ? (
|
||||
<img
|
||||
src='assets/closed.gif'
|
||||
alt='Closed'
|
||||
title='Closed'
|
||||
style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
) : null}
|
||||
<span key={`ti-mob-${index}`} className='thread-icons-mobile'>
|
||||
{thread.pinned ? (
|
||||
<img
|
||||
src='assets/sticky.gif'
|
||||
alt='Sticky'
|
||||
title='Sticky'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
) : null}
|
||||
{thread.locked ? (
|
||||
<img
|
||||
src='assets/closed.gif'
|
||||
alt='Closed'
|
||||
title='Closed'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
) : null}
|
||||
</span>
|
||||
</span>
|
||||
<br key={`mob-br1-${index}`} />
|
||||
{thread.title ? (
|
||||
|
||||
@@ -605,10 +605,20 @@ const Description = () => {
|
||||
## Board Mods
|
||||
</span>
|
||||
|
||||
<span className='thread-icons-mobile' style={{ float: 'right', marginRight: '18px' }}>
|
||||
<img src='assets/sticky.gif' alt='Sticky' title='Sticky' style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }} />
|
||||
<span className='thread-icons-mobile'>
|
||||
<img
|
||||
src='assets/sticky.gif'
|
||||
alt='Sticky'
|
||||
title='Sticky'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
|
||||
<img src='assets/closed.gif' alt='Closed' title='Closed' style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }} />
|
||||
<img
|
||||
src='assets/closed.gif'
|
||||
alt='Closed'
|
||||
title='Closed'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
</span>
|
||||
<br />
|
||||
<span className='subject-mobile' style={{ marginBottom: '-15px' }}>
|
||||
|
||||
@@ -539,10 +539,20 @@ const Rules = () => {
|
||||
## Board Mods
|
||||
</span>
|
||||
|
||||
<span className='thread-icons-mobile' style={{ float: 'right', marginRight: '18px' }}>
|
||||
<img src='assets/sticky.gif' alt='Sticky' title='Sticky' style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }} />
|
||||
<span className='thread-icons-mobile'>
|
||||
<img
|
||||
src='assets/sticky.gif'
|
||||
alt='Sticky'
|
||||
title='Sticky'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
|
||||
<img src='assets/closed.gif' alt='Closed' title='Closed' style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }} />
|
||||
<img
|
||||
src='assets/closed.gif'
|
||||
alt='Closed'
|
||||
title='Closed'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
</span>
|
||||
<br />
|
||||
<span className='subject-mobile' style={{ marginBottom: '-15px' }}>
|
||||
|
||||
@@ -2204,12 +2204,22 @@ const Thread = () => {
|
||||
</span>
|
||||
)
|
||||
</span>
|
||||
<span key={`ti-mob-${index}`} className='thread-icons-mobile' style={{ float: 'right', marginRight: '18px' }}>
|
||||
<span key={`ti-mob-${index}`} className='thread-icons-mobile'>
|
||||
{comment.pinned ? (
|
||||
<img src='assets/sticky.gif' alt='Sticky' title='Sticky' style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }} />
|
||||
<img
|
||||
src='assets/sticky.gif'
|
||||
alt='Sticky'
|
||||
title='Sticky'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
) : null}
|
||||
{comment.locked ? (
|
||||
<img src='assets/closed.gif' alt='Closed' title='Closed' style={{ marginTop: '-1px', marginRight: '2px', imageRendering: 'pixelated' }} />
|
||||
<img
|
||||
src='assets/closed.gif'
|
||||
alt='Closed'
|
||||
title='Closed'
|
||||
style={{ all: 'unset', marginBottom: '-2px', paddingLeft: '2px', imageRendering: 'pixelated' }}
|
||||
/>
|
||||
) : null}
|
||||
</span>
|
||||
<br key={`mob-br1-${comment.cid}`} />
|
||||
|
||||
Reference in New Issue
Block a user