fix(chat): sesión persistente entre recargas + responsive móvil/desktop

- mount(): restaura userId y convId desde sesión Laravel al recargar página
- abrirChat(): guarda chat_user_id y chat_conv_id en sesión
- cerrarSesion(): limpia la sesión correctamente
- Desktop: chat centrado como frame (420px, bordes redondeados, sombra)
- Móvil: pantalla completa sin restricción de ancho
- teclado virtual: ajuste de altura solo en móvil

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro
2026-07-14 01:22:23 +00:00
co-authored by Claude Sonnet 4.6
parent 4ddfdaeecc
commit d27bd1c0d7
3 changed files with 87 additions and 33 deletions
@@ -1,6 +1,4 @@
<div id="chat-root"
class="w-full flex flex-col bg-[#111b21]"
style="height: 100vh; height: 100dvh; height: -webkit-fill-available; max-width: 480px; margin: 0 auto;">
<div id="chat-root">
{{-- ══ PASO 1: Ingreso de correo ══ --}}
@if ($paso === 'email')