From c8be8e6b19340e4beaacbd42d29ae87ee52abb9a Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Thu, 29 Jun 2023 09:00:21 +0200 Subject: [PATCH] fix icon alignment to be identical to 4chan --- src/components/styled/views/Board.styled.jsx | 4 ++-- src/components/views/Board.jsx | 24 ++++++++++---------- src/components/views/Description.jsx | 8 +++---- src/components/views/Rules.jsx | 8 +++---- src/components/views/Thread.jsx | 4 ++-- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/components/styled/views/Board.styled.jsx b/src/components/styled/views/Board.styled.jsx index 8a9d1a60..0779b1fc 100644 --- a/src/components/styled/views/Board.styled.jsx +++ b/src/components/styled/views/Board.styled.jsx @@ -1678,13 +1678,13 @@ export const BoardForm = styled.div` .offline-sub { width: 16px; - margin: -5px -4px -4px 3px; + margin: -5px -4px -2px 3px; position: relative; } .offline-reply { width: 16px; - margin: -5px -4px -4px 3px; + margin: -5px -4px -2px 3px; position: relative; } diff --git a/src/components/views/Board.jsx b/src/components/views/Board.jsx index e1089c42..74223bdb 100755 --- a/src/components/views/Board.jsx +++ b/src/components/views/Board.jsx @@ -836,10 +836,10 @@ const Board = () => {   {getDate(subplebbit.createdAt)}   - Sticky   - Closed   [ @@ -913,10 +913,10 @@ const Board = () => {   - Sticky   - Closed
@@ -985,10 +985,10 @@ const Board = () => {   {getDate(subplebbit.createdAt)}   - Sticky   - Closed   [ @@ -1060,10 +1060,10 @@ const Board = () => {   - Sticky   - Closed
@@ -1228,7 +1228,7 @@ const Board = () => { <>   Sticky ) : null} @@ -1237,7 +1237,7 @@ const Board = () => {   Closed @@ -1990,12 +1990,12 @@ const Board = () => { {thread.pinned ? ( Sticky ) : null} {thread.locked ? ( Closed ) : null} diff --git a/src/components/views/Description.jsx b/src/components/views/Description.jsx index 84c584a7..1120b019 100644 --- a/src/components/views/Description.jsx +++ b/src/components/views/Description.jsx @@ -309,9 +309,9 @@ const Description = () => {   {getDate(subplebbit.createdAt)}   - Sticky + Sticky   - Closed + Closed   [ {}} style={{textDecoration: "none"}} className="reply-link">Reply @@ -379,9 +379,9 @@ const Description = () => {   - Sticky + Sticky   - Closed + Closed
{   {getDate(subplebbit.createdAt)}   - Sticky + Sticky   - Closed + Closed   [ {}} style={{textDecoration: "none"}} className="reply-link">Reply @@ -359,9 +359,9 @@ const Rules = () => {   - Sticky + Sticky   - Closed + Closed
{ <>   Sticky ) : null} @@ -901,7 +901,7 @@ const Thread = () => { <>   Closed ) : null}