From 37b5e9e203fb14847449db3ad3272a3ecfc28cf1 Mon Sep 17 00:00:00 2001 From: Daniele Tonon Date: Mon, 12 Feb 2024 17:39:51 +0100 Subject: [PATCH 1/2] Align centrally the Post button in the bottom navigation --- src/app/Nav.svelte | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/src/app/Nav.svelte b/src/app/Nav.svelte index dfc5c133..c868bbd1 100644 --- a/src/app/Nav.svelte +++ b/src/app/Nav.svelte @@ -85,24 +85,30 @@ {#if innerWidth < 1024}
-
- +
+
+ +
+
{#if $pubkey} Post + {:else} Log In {/if} -
- - {#if $pubkey} - - {#if $hasNewNotifications || $hasNewMessages} -
+
+
+
+ + {#if $pubkey} + + {#if $hasNewNotifications || $hasNewMessages} +
+ {/if} {/if} - {/if} +
{/if} From bb214cfe4c243863960f68da9cd1906953c4a9f6 Mon Sep 17 00:00:00 2001 From: Daniele Tonon Date: Mon, 12 Feb 2024 19:24:09 +0100 Subject: [PATCH 2/2] Uniform lines weight in the bottom navigation --- src/app/Nav.svelte | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/app/Nav.svelte b/src/app/Nav.svelte index c868bbd1..81ef3b8a 100644 --- a/src/app/Nav.svelte +++ b/src/app/Nav.svelte @@ -87,9 +87,9 @@ class="fixed bottom-0 left-0 right-0 z-nav flex items-center justify-between border-t border-solid border-mid bg-dark px-4 py-2">
- +
@@ -101,9 +101,11 @@
- + + + {#if $pubkey} - + {#if $hasNewNotifications || $hasNewMessages}
{/if}