File tree Expand file tree Collapse file tree 2 files changed +26
-4
lines changed
tools/server/webui/src/lib/components/chat Expand file tree Collapse file tree 2 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 286286 role =" main"
287287 aria-label =" Chat interface with file drop zone"
288288 >
289- <ChatMessages class ="mb-16 md:mb-32 " messages ={activeMessages ()} />
289+ <ChatMessages class ="mb-16 md:mb-24 " messages ={activeMessages ()} />
290290
291291 <div class ="sticky bottom-0 left-0 right-0 mt-auto" in:slide ={{ duration : 400 , axis : ' y' }}>
292- <div class =" rounded-t-3xl pb-4" >
292+ <div class =" conversation-chat-form rounded-t-3xl pb-4" >
293293 <ChatForm
294294 isLoading ={isLoading ()}
295295 showHelperText ={false }
340340 </div >
341341 </div >
342342{/if }
343+
344+ <style >
345+ .conversation-chat-form {
346+ position : relative ;
347+
348+ &::after {
349+ content : ' ' ;
350+ position : fixed ;
351+ bottom : 0 ;
352+ z-index : -1 ;
353+ left : 0 ;
354+ right : 0 ;
355+ width : 100% ;
356+ height : 2.375rem ;
357+ background-color : var (--background );
358+ }
359+ }
360+ </style >
Original file line number Diff line number Diff line change 7575 <DropdownMenu .Root >
7676 <DropdownMenu .Trigger
7777 class =" hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex h-6 w-6 items-center justify-center rounded-md p-0 text-sm font-medium transition-colors focus:outline-none disabled:pointer-events-none disabled:opacity-50"
78- onclick ={(e ) => e .stopPropagation ()}
7978 >
8079 <MoreHorizontal class =" h-3 w-3" />
80+
8181 <span class =" sr-only" >More actions</span >
8282 </DropdownMenu .Trigger >
83+
8384 <DropdownMenu .Content align =" end" class =" w-48" >
8485 <DropdownMenu .Item onclick ={handleEdit } class =" flex items-center gap-2" >
8586 <Pencil class =" h-4 w-4" />
8687 Edit
8788 </DropdownMenu .Item >
89+
8890 <DropdownMenu .Separator />
91+
8992 <DropdownMenu .Item
9093 variant =" destructive"
9194 class =" flex items-center gap-2"
127130 width : 0 ;
128131 opacity : 0 ;
129132 transition : all 0.2 s ease;
133+ overflow : hidden;
130134 }
131135
132- button:hover & > * {
136+ : global ( button:hover) & > * {
133137 width : auto;
134138 opacity : 1 ;
135139 }
You can’t perform that action at this time.
0 commit comments