File tree Expand file tree Collapse file tree
src/lib/components/chat/ModelSelector Expand file tree Collapse file tree Original file line number Diff line number Diff line change 384384 await tick ();
385385 const item = document .querySelector (` [data-arrow-selected="true"] ` );
386386 item ?.scrollIntoView ({ block: ' center' , inline: ' nearest' , behavior: ' instant' });
387+ schedulePositionUpdate ();
387388 };
388389
389390 const setCompareEnabled = (enabled : boolean ) => {
749750 >
750751 <div
751752 bind:this ={panelElement }
752- class ="z-40 {className } max-w-[calc(100vw-1rem)] justify-start rounded-xl border border-gray-100 bg-white p-0.5 shadow-lg outline-hidden dark:border-gray-800 dark:bg-gray-850 dark:text-white flex flex-col overflow-hidden"
753+ class ="z-40 {className ??
754+ ' w-[20rem]' } max-w-[calc(100vw-1rem)] justify-start rounded-xl border border-gray-100 bg-white p-0.5 shadow-lg outline-hidden dark:border-gray-800 dark:bg-gray-850 dark:text-white flex flex-col overflow-hidden"
753755 style ={dropdownPosition .maxHeight ? ` max-height: ${dropdownPosition .maxHeight }px; ` : ' ' }
754756 transition:flyAndScale
755757 >
You can’t perform that action at this time.
0 commit comments