File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
tools/server/webui/src/lib/components/app/chat/ChatScreen Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 22 import { Settings } from ' @lucide/svelte' ;
33 import { DialogChatSettings } from ' $lib/components/app' ;
44 import { Button } from ' $lib/components/ui/button' ;
5+ import { useSidebar } from ' $lib/components/ui/sidebar' ;
6+
7+ const sidebar = useSidebar ();
58
69 let settingsOpen = $state (false );
710
1114 </script >
1215
1316<header
14- class =" md:background-transparent pointer-events-none fixed top-0 right-0 left-0 z-50 flex items-center justify-end bg-background/40 p-4 backdrop-blur-xl md:left-[var(--sidebar-width)]"
17+ class ="md:background-transparent pointer-events-none fixed top-0 right-0 left-0 z-50 flex items-center justify-end bg-background/40 p-4 backdrop-blur-xl duration-200 ease-linear {sidebar .open
18+ ? ' md:left-[var(--sidebar-width)]'
19+ : ' ' }"
1520>
1621 <div class =" pointer-events-auto flex items-center space-x-2" >
1722 <Button variant ="ghost" size ="sm" onclick ={toggleSettings }>
You can’t perform that action at this time.
0 commit comments