From ab209d273c72047fbdad0ce687dc7a63033bda8c Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Mon, 3 Jun 2024 13:53:12 +0200 Subject: [PATCH] fix bugs --- src/components/post/post.module.css | 6 ------ src/components/topbar/topbar.module.css | 5 ++++- src/views/board/board.tsx | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/components/post/post.module.css b/src/components/post/post.module.css index 494b63a5..3995fbaa 100644 --- a/src/components/post/post.module.css +++ b/src/components/post/post.module.css @@ -61,12 +61,6 @@ width: 100%; } -.postDesktop .checkbox, .replyDesktop .checkbox { - display: inline-block; - padding: 3px 7px 3px 4px; - filter: var(--filter80); -} - .postDesktop .subject { color: var(--post-subject-text-color); font-weight: var(--post-subject-font-weight); diff --git a/src/components/topbar/topbar.module.css b/src/components/topbar/topbar.module.css index aa2389e1..2afdf59b 100644 --- a/src/components/topbar/topbar.module.css +++ b/src/components/topbar/topbar.module.css @@ -8,7 +8,6 @@ .boardNavDesktop a, .navTopRight span { color: var(--topbar-desktop-link-text-color); text-decoration: var(--topbar-desktop-link-text-decoration); - text-transform: capitalize; } .boardNavDesktop a:hover, .navTopRight span:hover { @@ -28,6 +27,10 @@ padding: 3px 5px 0 0; } +.boardNavDesktop .searchBar { + margin-right: -7px; +} + .searchBar input[type="text"] { outline: none; margin: 2px; diff --git a/src/views/board/board.tsx b/src/views/board/board.tsx index 809203fd..61361983 100644 --- a/src/views/board/board.tsx +++ b/src/views/board/board.tsx @@ -102,8 +102,8 @@ const Board = () => { const lastVirtuosoState = lastVirtuosoStates?.[location.pathname]; useEffect(() => { - document.title = title ? title : shortAddress; - }, [title, shortAddress]); + document.title = title ? title : shortAddress || subplebbitAddress; + }, [title, shortAddress, subplebbitAddress]); return (