Spaces:
Sleeping
Sleeping
axeronis commited on
Commit ·
4c9faf8
1
Parent(s): dc82d93
fix(ui): fix nova widget dragging and ai toggle pill shape
Browse filesFiles changed (2)
100 unmodified lines101102103104105106107100 unmodified linesonClick={onToggleAI}disabled={isTogglingAI}className={cn("relative w-12 h-6 min-w-[48px] h-[24px] rounded-full transition-all duration-300 flex-shrink-0 border",isAIActive? "bg-indigo-500 border-indigo-400 shadow-[0_2px_8px_rgba(99,102,241,0.3)]": "bg-white/10 border-white/10 hover:bg-white/20",100 unmodified lines101102103104105106107100 unmodified linesonClick={onToggleAI}disabled={isTogglingAI}className={cn("relative w-12 min-w-[48px] h-6 flex-shrink-0 rounded-full transition-all duration-300 border",isAIActive? "bg-indigo-500 border-indigo-400 shadow-[0_2px_8px_rgba(99,102,241,0.3)]": "bg-white/10 border-white/10 hover:bg-white/20",
116 unmodified lines117118119120121122123124116 unmodified lines{/* Floating Button */}<motion.buttondragdragConstraints={{ left: 0, right: 0, top: 0, bottom: 0 }}dragElastic={0.1}whileDrag={{ scale: 1.1, zIndex: 101 }}onClick={() => setIsOpen(!isOpen)}className={cn(116 unmodified lines117118119120121122123116 unmodified lines{/* Floating Button */}<motion.buttondragdragMomentum={false}whileDrag={{ scale: 1.1, zIndex: 101 }}onClick={() => setIsOpen(!isOpen)}className={cn(
frontend/components/ChatWindow/ChatHeader.tsx+1-1
frontend/components/NovaHelpChat.tsx+1-2