{ if (!window.getSelection().toString().trim() && enableSelectionFlowForWord) resetSelectionState(chat) }, 0); toggleDropdown(null);" :class=" { 'bg-lizzy-base-1 min-w-[184px]': ((chat?.type === 'lizzyMessage' || chat?.type === 'Error') && !darkMode), 'bg-lizzy-black-10/10 min-w-[184px]': ((chat?.type === 'lizzyMessage' || chat?.type === 'Error') && darkMode), 'bg-lizzy-base-3': (chat?.type === 'userMessage' && !darkMode), 'bg-[#0E1B29B2]': (chat?.type === 'userMessage' && darkMode), 'mt-[21px]' : (!fromShare && chatIndex === 0), 'p-[10px] !pr-[21px]': selectedDirection === 'ltr' && !fromSideBar, 'p-[10px] !pl-[21px]': selectedDirection === 'rtl' && !fromSideBar, 'p-[10px] custom-sm300:p-[5px]': fromSideBar, } " @text-selected.window="menuButtonClicked = false;" x-init="$nextTick(() => { const observer = new ResizeObserver(() => { checkOverflow(); // Trigger Alpine-reactive method }); observer.observe($refs.chatCardContent); // Also call once at init checkOverflow(); })">
{ requestAnimationFrame(() => { $refs.bottomMarker?.scrollIntoView({ behavior: 'smooth', block: 'end' }); }); }) }" class="flex gap-1 border-[1px] border-[#E7E7E7] rounded-[5px] px-[5px] py-[3px] hover:bg-lizzy-base-3" x-ref="bottomMarker">
Continue generating
{ chat.showIcon = false })">
{ await download(); downloading = false }, 0); " :disabled="downloading" :class="downloading ? 'bg-blue-50 border-blue-200' : 'bg-white border-lizzy-base-3 hover:bg-lizzy-base-1 hover:border-lizzy-base-4'" class="relative px-3 py-1 text-[11px] font-medium text-lizzy-base-7 border rounded-lg transition-all cursor-pointer disabled:cursor-not-allowed overflow-hidden" >
!
Document generation failed
lizzyai.com