Timothy Jaeryang Baek 4 mēneši atpakaļ
vecāks
revīzija
4fcf0caa4d
1 mainītis faili ar 9 papildinājumiem un 9 dzēšanām
  1. 9 9
      src/lib/components/chat/Chat.svelte

+ 9 - 9
src/lib/components/chat/Chat.svelte

@@ -1829,13 +1829,13 @@
 	}}
 	}}
 />
 />
 
 
-{#if !chatIdProp || (loaded && chatIdProp)}
-	<div
-		class="h-screen max-h-[100dvh] transition-width duration-200 ease-in-out {$showSidebar
-			? '  md:max-w-[calc(100%-260px)]'
-			: ' '} w-full max-w-full flex flex-col"
-		id="chat-container"
-	>
+<div
+	class="h-screen max-h-[100dvh] transition-width duration-200 ease-in-out {$showSidebar
+		? '  md:max-w-[calc(100%-260px)]'
+		: ' '} w-full max-w-full flex flex-col"
+	id="chat-container"
+>
+	{#if !chatIdProp || (loaded && chatIdProp)}
 		{#if $settings?.backgroundImageUrl ?? null}
 		{#if $settings?.backgroundImageUrl ?? null}
 			<div
 			<div
 				class="absolute {$showSidebar
 				class="absolute {$showSidebar
@@ -2037,5 +2037,5 @@
 				{eventTarget}
 				{eventTarget}
 			/>
 			/>
 		</PaneGroup>
 		</PaneGroup>
-	</div>
-{/if}
+	{/if}
+</div>