From 6d523b4247f750e2bbd8e16fb3ce206323982e8e Mon Sep 17 00:00:00 2001
From: Kit La Touche <kit@transneptune.net>
Date: Thu, 31 Oct 2024 00:26:11 -0400
Subject: Rearrange DOM because Owen asked me to

---
 ui/routes/(app)/+layout.svelte | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

(limited to 'ui/routes/(app)/+layout.svelte')

diff --git a/ui/routes/(app)/+layout.svelte b/ui/routes/(app)/+layout.svelte
index c57b747..cf5d5f1 100644
--- a/ui/routes/(app)/+layout.svelte
+++ b/ui/routes/(app)/+layout.svelte
@@ -71,15 +71,6 @@
     <h2>Loading&hellip;</h2>
 {:else}
     <div id="interface" class="p-2">
-        <main>
-            <div class="active-channel border border-solid border-gray-400 rounded-[1.25rem]">
-                <slot />
-            </div>
-            <div class="create-message overflow-scroll max-h-full">
-                <MessageInput {channel} />
-            </div>
-        </main>
-
         <nav id="sidebar" data-expanded={showMenuValue}>
             <button class="h-4 w-4" aria-controls="sidebar" aria-expanded={showMenuValue} on:click={toggleMenu}>&#10006;</button>
             <div class="channel-list">
@@ -89,6 +80,14 @@
                 <CreateChannelForm />
             </div>
         </nav>
+        <main>
+            <div class="active-channel border border-solid border-gray-400 rounded-[1.25rem]">
+                <slot />
+            </div>
+            <div class="create-message overflow-scroll max-h-full">
+                <MessageInput {channel} />
+            </div>
+        </main>
     </div>
 {/if}
 
@@ -122,6 +121,7 @@ nav {
     transition: translate 300ms ease-out;
     width: 21rem;
     height: calc(100vh - var(--app-bar-height) - var(--interface-padding));
+    z-index: 10;
 }
 nav button {
     position: absolute;
-- 
cgit v1.2.3

