From a689d2f494b93ce064a747d42b7cc447d744931d Mon Sep 17 00:00:00 2001 From: Martti Malmi Date: Sat, 29 Jul 2023 09:01:43 +0300 Subject: [PATCH] middle column borders, style --- src/js/components/Menu.tsx | 2 +- src/js/components/OnboardingNotification.tsx | 2 +- src/js/views/LogoutConfirmation.tsx | 23 +++++++++----------- src/js/views/Search.tsx | 2 +- 4 files changed, 13 insertions(+), 16 deletions(-) diff --git a/src/js/components/Menu.tsx b/src/js/components/Menu.tsx index f9f34bd10..dc5c20b61 100644 --- a/src/js/components/Menu.tsx +++ b/src/js/components/Menu.tsx @@ -141,7 +141,7 @@ export default function Menu() { }; return ( -
+
+

{t('follow_someone_info')}

{SUGGESTED_FOLLOWS.map(([pub, description]) => (
diff --git a/src/js/views/LogoutConfirmation.tsx b/src/js/views/LogoutConfirmation.tsx index 687622191..009593ae2 100644 --- a/src/js/views/LogoutConfirmation.tsx +++ b/src/js/views/LogoutConfirmation.tsx @@ -3,22 +3,19 @@ import { route } from 'preact-router'; import Session from '../nostr/Session'; import { translate as t } from '../translations/Translation.mjs'; +// This should perhaps be a modal instead of a page // eslint-disable-next-line @typescript-eslint/no-unused-vars export default function LogoutConfirmation(_props) { return ( -
-
-

{t('logout_confirmation_info')}

-

- -

-

- -

+
+
{t('logout_confirmation_info')}
+
+ +
); diff --git a/src/js/views/Search.tsx b/src/js/views/Search.tsx index 2173a359f..5c1d0fd99 100644 --- a/src/js/views/Search.tsx +++ b/src/js/views/Search.tsx @@ -66,7 +66,7 @@ const Search = (props: any) => { const trendingPosts = useCachedFetch(url, 'trendingNotes', dataProcessor); return ( -
+
{