From dabe947eab90ea3aa11c7901aada9097878b74ab Mon Sep 17 00:00:00 2001 From: Tom Date: Sat, 13 May 2023 17:43:13 +0200 Subject: [PATCH] fix SubscriptionsCatalog links, footer, styling --- src/components/styled/Board.styled.jsx | 2 +- src/components/styled/Catalog.styled.jsx | 4 +-- src/components/views/Catalog.jsx | 8 +++--- src/components/views/SubscriptionsCatalog.jsx | 26 +++++++++---------- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/components/styled/Board.styled.jsx b/src/components/styled/Board.styled.jsx index c3981457..61081cac 100644 --- a/src/components/styled/Board.styled.jsx +++ b/src/components/styled/Board.styled.jsx @@ -427,7 +427,7 @@ export const Header = styled.div` .offline { width: 16px; position: relative; - margin: 2px 2px -4px 2px; + margin: 2px 2px -2px 2px; } `; diff --git a/src/components/styled/Catalog.styled.jsx b/src/components/styled/Catalog.styled.jsx index de5f20d0..0c09d11f 100644 --- a/src/components/styled/Catalog.styled.jsx +++ b/src/components/styled/Catalog.styled.jsx @@ -23,7 +23,7 @@ export const Threads = styled.div` max-height: 150px; } - img { + .card { display: inline; margin: auto; box-shadow: 0 0 5px rgba(0, 0, 0, .25); @@ -45,7 +45,7 @@ export const Threads = styled.div` } .offline-icon-no-link { - height: 13px; + height: 11px; position: absolute; margin-left: 13px; margin-top: -2px; diff --git a/src/components/views/Catalog.jsx b/src/components/views/Catalog.jsx index 18f2f4b9..1cd30d66 100644 --- a/src/components/views/Catalog.jsx +++ b/src/components/views/Catalog.jsx @@ -477,7 +477,7 @@ const Catalog = () => { {commentMediaInfo?.type === "webpage" ? ( thread.thumbnailUrl ? ( - {commentMediaInfo.type} { e.target.src = fallbackImgUrl @@ -486,21 +486,21 @@ const Catalog = () => { ) : null ) : null} {commentMediaInfo?.type === "image" ? ( - {commentMediaInfo.type} { e.target.src = fallbackImgUrl e.target.onerror = null;}} /> ) : null} {commentMediaInfo?.type === "video" ? ( -