feat: enhance UI spacing and layout for attendee detail sections

This commit is contained in:
Jose Selesan
2026-10-01 12:35:57 -03:00
parent ea722a42f1
commit ef38f98747
4 changed files with 22 additions and 12 deletions

View File

@@ -2,8 +2,11 @@ import { Mail } from 'lucide-react'
import { useAttendeeDetail } from './AttendeeDetailProvider'
import { Section } from './Section'
/* `px-3` interno: la banda de hover sigue a sangre hasta el borde de la sección
(la separa del texto, no al revés) y las notas de abajo suman el mismo para
que el email y ellas caigan en la misma columna. */
const ROW_CLASS =
'flex w-full min-h-11 items-center justify-between gap-3 rounded-lg py-2.5 transition-colors hover:bg-primary-soft focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent'
'flex w-full min-h-11 items-center justify-between gap-3 rounded-lg px-3 py-2.5 transition-colors hover:bg-primary-soft focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent'
/** Email y notas del miembro. El teléfono no va acá: ya está en el subtítulo y
* detrás de los botones de WhatsApp y Llamar, y repetirlo llenaba la pantalla
@@ -31,7 +34,7 @@ export function AttendeeContactSection() {
) : null}
{notes ? (
<p className="whitespace-pre-line py-2 text-sm leading-relaxed text-primary">{notes}</p>
<p className="whitespace-pre-line px-3 py-2 text-sm leading-relaxed text-primary">{notes}</p>
) : null}
</div>
</Section>