From 603653574cfca7667406ad4701602fb65e452fe6 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Thu, 21 Nov 2024 14:25:57 -0800 Subject: [PATCH] fix scrolling in sidebar --- src/app/components/MenuSpace.svelte | 66 ++++++++++--------- src/lib/components/SecondaryNavSection.svelte | 2 +- 2 files changed, 35 insertions(+), 33 deletions(-) diff --git a/src/app/components/MenuSpace.svelte b/src/app/components/MenuSpace.svelte index 1126368..9e86ac5 100644 --- a/src/app/components/MenuSpace.svelte +++ b/src/app/components/MenuSpace.svelte @@ -69,7 +69,7 @@
- +
{displayRelayUrl(url)} @@ -109,37 +109,39 @@ {/if}
- - Home - - - Threads - -
- Your Rooms - - {#each rooms as room, i (room)} - - {/each} - {#if otherRooms.length > 0} -
- - {#if rooms.length > 0} - Other Rooms - {:else} - Rooms - {/if} - - {/if} - {#each otherRooms as room, i (room)} - - - {room} +
+ + Home - {/each} - - - Create room - + + Threads + +
+ Your Rooms + + {#each rooms as room, i (room)} + + {/each} + {#if otherRooms.length > 0} +
+ + {#if rooms.length > 0} + Other Rooms + {:else} + Rooms + {/if} + + {/if} + {#each otherRooms as room, i (room)} + + + {room} + + {/each} + + + Create room + +
diff --git a/src/lib/components/SecondaryNavSection.svelte b/src/lib/components/SecondaryNavSection.svelte index eae9f52..c36b586 100644 --- a/src/lib/components/SecondaryNavSection.svelte +++ b/src/lib/components/SecondaryNavSection.svelte @@ -1,3 +1,3 @@ -
+