mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix icons upscaling
This commit is contained in:
@@ -17,6 +17,7 @@ const OfflineIndicator = ({ address, className, tooltipPlace }) => {
|
||||
data-tooltip-id="tooltip"
|
||||
data-tooltip-content="Offline"
|
||||
data-tooltip-place={tooltipPlace}
|
||||
style={{imageRendering: 'pixelated'}}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
|
||||
@@ -836,9 +836,11 @@ const Board = () => {
|
||||
|
||||
<span className="date-time">{getDate(subplebbit.createdAt)}</span>
|
||||
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px",
|
||||
imageRendering: "pixelated",}} />
|
||||
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px",
|
||||
imageRendering: "pixelated",}} />
|
||||
<span>
|
||||
[
|
||||
<Link to={`/p/${selectedAddress}/rules`} style={{textDecoration: "none"}} className="reply-link">Reply</Link>
|
||||
@@ -911,9 +913,11 @@ const Board = () => {
|
||||
|
||||
<span className="thread-icons-mobile"
|
||||
style={{float: "right", marginRight: "18px"}}>
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px",
|
||||
imageRendering: "pixelated",}} />
|
||||
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px",
|
||||
imageRendering: "pixelated",}} />
|
||||
</span>
|
||||
<br />
|
||||
<span className="subject-mobile"
|
||||
@@ -981,9 +985,11 @@ const Board = () => {
|
||||
|
||||
<span className="date-time">{getDate(subplebbit.createdAt)}</span>
|
||||
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px",
|
||||
imageRendering: "pixelated",}} />
|
||||
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px",
|
||||
imageRendering: "pixelated",}} />
|
||||
<span>
|
||||
[
|
||||
<Link to={`/p/${selectedAddress}/description`} style={{textDecoration: "none"}} className="reply-link">Reply</Link>
|
||||
@@ -1054,9 +1060,11 @@ const Board = () => {
|
||||
|
||||
<span className="thread-icons-mobile"
|
||||
style={{float: "right", marginRight: "18px"}}>
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px",
|
||||
imageRendering: "pixelated",}} />
|
||||
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px",
|
||||
imageRendering: "pixelated",}} />
|
||||
</span>
|
||||
<br />
|
||||
<span className="subject-mobile"
|
||||
@@ -1220,14 +1228,18 @@ const Board = () => {
|
||||
<>
|
||||
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky"
|
||||
style={{marginBottom: "-3px"}} />
|
||||
style={{marginBottom: "-3px",
|
||||
imageRendering: "pixelated",}} />
|
||||
</>
|
||||
) : null}
|
||||
{thread.locked ? (
|
||||
<>
|
||||
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed"
|
||||
style={{marginBottom: "-3px"}} />
|
||||
style={{
|
||||
marginBottom: "-3px",
|
||||
imageRendering: "pixelated",
|
||||
}} />
|
||||
</>
|
||||
) : null}
|
||||
<span key={`rl1-${index}`}>
|
||||
@@ -1978,11 +1990,13 @@ const Board = () => {
|
||||
<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={{marginBottom: "-3px", marginRight: "2px"}} />
|
||||
style={{marginBottom: "-3px", marginRight: "2px",
|
||||
imageRendering: "pixelated",}} />
|
||||
) : null}
|
||||
{thread.locked ? (
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed"
|
||||
style={{marginBottom: "-3px", marginRight: "2px"}} />
|
||||
style={{marginBottom: "-3px", marginRight: "2px",
|
||||
imageRendering: "pixelated",}} />
|
||||
) : null}
|
||||
</span>
|
||||
<br key={`mob-br1-${index}`} />
|
||||
|
||||
@@ -706,8 +706,12 @@ const Catalog = () => {
|
||||
R:<b>0</b>
|
||||
<div className='thread-icons'
|
||||
style={{position: 'absolute', top: '-2px', right: '15px'}}>
|
||||
<span className="thread-icon sticky-icon" title="Sticky" />
|
||||
<span className="thread-icon closed-icon" title="Closed" />
|
||||
<span className="thread-icon sticky-icon" title="Sticky"
|
||||
style={{
|
||||
imageRendering: "pixelated",}} />
|
||||
<span className="thread-icon closed-icon" title="Closed"
|
||||
style={{
|
||||
imageRendering: "pixelated",}} />
|
||||
</div>
|
||||
<PostMenu
|
||||
style={{ display: isHoveringOnThread === "rules" ? 'inline-block' : 'none',
|
||||
@@ -773,8 +777,12 @@ const Catalog = () => {
|
||||
</Link>
|
||||
{subplebbit.suggested?.avatarUrl ? (
|
||||
<div className='thread-icons'>
|
||||
<span className="thread-icon sticky-icon" title="Sticky" />
|
||||
<span className="thread-icon closed-icon" title="Closed" />
|
||||
<span className="thread-icon sticky-icon" title="Sticky"
|
||||
style={{
|
||||
imageRendering: "pixelated",}} />
|
||||
<span className="thread-icon closed-icon" title="Closed"
|
||||
style={{
|
||||
imageRendering: "pixelated",}} />
|
||||
</div>
|
||||
) : null}
|
||||
<BoardForm selectedStyle={selectedStyle} style={{all: 'unset'}}>
|
||||
@@ -783,8 +791,12 @@ const Catalog = () => {
|
||||
{subplebbit.suggested?.avatarUrl ? null : (
|
||||
<div className='thread-icons'
|
||||
style={{position: 'absolute', top: '-2px', right: '15px'}}>
|
||||
<span className="thread-icon sticky-icon" title="Sticky" />
|
||||
<span className="thread-icon closed-icon" title="Closed" />
|
||||
<span className="thread-icon sticky-icon" title="Sticky"
|
||||
style={{
|
||||
imageRendering: "pixelated",}} />
|
||||
<span className="thread-icon closed-icon" title="Closed"
|
||||
style={{
|
||||
imageRendering: "pixelated",}} />
|
||||
</div>
|
||||
)}
|
||||
<PostMenu
|
||||
@@ -917,10 +929,14 @@ const Catalog = () => {
|
||||
commentMediaInfo.thumbnail))) ? (
|
||||
<div key={`ti-${index}`} className="thread-icons" >
|
||||
{thread.pinned ? (
|
||||
<span key={`si-${index}`} className="thread-icon sticky-icon" title="Sticky" />
|
||||
<span key={`si-${index}`} className="thread-icon sticky-icon" title="Sticky"
|
||||
style={{
|
||||
imageRendering: "pixelated",}} />
|
||||
) : null}
|
||||
{thread.locked ? (
|
||||
<span key={`li-${index}`} className="thread-icon closed-icon" title="Closed" />
|
||||
<span key={`li-${index}`} className="thread-icon closed-icon" title="Closed"
|
||||
style={{
|
||||
imageRendering: "pixelated",}} />
|
||||
) : null}
|
||||
</div>
|
||||
) : null}
|
||||
@@ -937,10 +953,14 @@ const Catalog = () => {
|
||||
<div className='thread-icons'
|
||||
style={{position: 'absolute', top: '-2px', right: '15px'}}>
|
||||
{thread.pinned ? (
|
||||
<span key={`si-${index}`} className="thread-icon sticky-icon" title="Sticky" />
|
||||
<span key={`si-${index}`} className="thread-icon sticky-icon" title="Sticky"
|
||||
style={{
|
||||
imageRendering: "pixelated",}} />
|
||||
) : null}
|
||||
{thread.locked ? (
|
||||
<span key={`li-${index}`} className="thread-icon closed-icon" title="Closed" />
|
||||
<span key={`li-${index}`} className="thread-icon closed-icon" title="Closed"
|
||||
style={{
|
||||
imageRendering: "pixelated",}} />
|
||||
) : null}
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -309,9 +309,9 @@ const Description = () => {
|
||||
|
||||
<span className="date-time">{getDate(subplebbit.createdAt)}</span>
|
||||
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px", imageRendering: 'pixelated'}} />
|
||||
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px", imageRendering: 'pixelated'}} />
|
||||
<span>
|
||||
[
|
||||
<Link to={() => {}} style={{textDecoration: "none"}} className="reply-link">Reply</Link>
|
||||
@@ -379,9 +379,9 @@ const Description = () => {
|
||||
|
||||
<span className="thread-icons-mobile"
|
||||
style={{float: "right", marginRight: "18px"}}>
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px", imageRendering: 'pixelated'}} />
|
||||
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px", imageRendering: 'pixelated'}} />
|
||||
</span>
|
||||
<br />
|
||||
<span className="subject-mobile"
|
||||
|
||||
@@ -284,9 +284,9 @@ const Rules = () => {
|
||||
|
||||
<span className="date-time">{getDate(subplebbit.createdAt)}</span>
|
||||
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px", imageRendering: 'pixelated'}} />
|
||||
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px", imageRendering: 'pixelated'}} />
|
||||
<span>
|
||||
[
|
||||
<Link to={() => {}} style={{textDecoration: "none"}} className="reply-link">Reply</Link>
|
||||
@@ -359,9 +359,9 @@ const Rules = () => {
|
||||
|
||||
<span className="thread-icons-mobile"
|
||||
style={{float: "right", marginRight: "18px"}}>
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky" style={{marginBottom: "-3px", imageRendering: 'pixelated'}} />
|
||||
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px"}} />
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed" style={{marginBottom: "-3px", imageRendering: 'pixelated'}} />
|
||||
</span>
|
||||
<br />
|
||||
<span className="subject-mobile"
|
||||
|
||||
@@ -893,14 +893,16 @@ const Thread = () => {
|
||||
<>
|
||||
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky"
|
||||
style={{marginBottom: "-3px"}} />
|
||||
style={{marginBottom: "-3px",
|
||||
imageRendering: "pixelated",}} />
|
||||
</>
|
||||
) : null}
|
||||
{comment.locked ? (
|
||||
<>
|
||||
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed"
|
||||
style={{marginBottom: "-3px"}} />
|
||||
style={{marginBottom: "-3px",
|
||||
imageRendering: "pixelated",}} />
|
||||
</>
|
||||
) : null}
|
||||
<PostMenu
|
||||
|
||||
Reference in New Issue
Block a user