diff --git a/src/lib/components/chat/chat.svelte b/src/lib/components/chat/chat.svelte index 249996bf6..1fb3c87ce 100644 --- a/src/lib/components/chat/chat.svelte +++ b/src/lib/components/chat/chat.svelte @@ -12,8 +12,9 @@ type Props = { showChat: boolean; width: number; + hasSubNavigation: boolean; }; - let { showChat = $bindable(), width }: Props = $props(); + let { showChat = $bindable(), width, hasSubNavigation }: Props = $props(); let minimizeChat = $state($isSmallViewport ? true : false); @@ -22,7 +23,8 @@ class="chat" style:width={$isSmallViewport ? 'calc(100vw - 16px)' : showChat ? `${width}px` : 0} class:minimize-chat={minimizeChat} - class:is-visible={showChat}> + class:is-visible={showChat} + class:sub-navigation={hasSubNavigation}>