style(tarjeta): padding de reseñas a 12px y sin solape título/estrellas
deploy-branch / deploy (push) Successful in 2m43s
deploy-branch / teardown (push) Skipped
tests / Unitarias + componente + build (pull_request) Failing after 3m3s
tests / Integración (Nominatim real, opt-in) (pull_request) Skipped
tests / Unitarias + componente + build (push) Failing after 3m5s
tests / Integración (Nominatim real, opt-in) (push) Skipped
deploy-branch / deploy (push) Successful in 2m43s
deploy-branch / teardown (push) Skipped
tests / Unitarias + componente + build (pull_request) Failing after 3m3s
tests / Integración (Nominatim real, opt-in) (pull_request) Skipped
tests / Unitarias + componente + build (push) Failing after 3m5s
tests / Integración (Nominatim real, opt-in) (push) Skipped
- 15px → 12px 12px 8px (punto medio tras el ajuste manual a 15) - el formulario delinea las estrellas con un soporte de línea (lineHeight 26px): con lineHeight 0 la caja mide 0 y el glifo se solapaba con 'Deja tu reseña'; además gap 6→8
This commit is contained in:
@@ -39,7 +39,7 @@ function Reseña({ r, reportada, onReportar, onBorrar }) {
|
||||
<div style={{
|
||||
background: "var(--color-background-secondary)",
|
||||
borderRadius: "var(--border-radius-md)",
|
||||
padding: "15px 15px 10px",
|
||||
padding: "12px 12px 8px",
|
||||
display: "flex", flexDirection: "column", gap: 10, minWidth: 0,
|
||||
border: r.esPropia ? "0.5px solid var(--color-border-secondary)" : "none",
|
||||
}}>
|
||||
@@ -264,11 +264,16 @@ const ResenasLocal = forwardRef(function ResenasLocal({ localId, totalInicial =
|
||||
)}
|
||||
|
||||
{/* Formulario inline PLANO (sin caja): solo un borde que lo separa */}
|
||||
<div ref={formRef} style={{ paddingTop: 8, borderTop: "0.5px solid var(--color-border-tertiary)", display: "flex", flexDirection: "column", gap: 6 }}>
|
||||
<div ref={formRef} style={{ paddingTop: 8, borderTop: "0.5px solid var(--color-border-tertiary)", display: "flex", flexDirection: "column", gap: 8 }}>
|
||||
<p style={{ margin: 0, fontSize: 12, fontWeight: 500 }}>
|
||||
{tienePropia ? "Tu reseña (anónima) — edítala o bórrala desde su tarjeta" : "Deja tu reseña (anónima)"}
|
||||
</p>
|
||||
<StarRating value={puntuacion} onChange={setPuntuacion} size={20} />
|
||||
{/* Las estrellas usan lineHeight 0 (caja de línea de altura 0:
|
||||
el glifo desborda y se solapa con el título). El wrapper con
|
||||
lineHeight normal aporta el soporte de línea que falta. */}
|
||||
<div style={{ lineHeight: "26px" }}>
|
||||
<StarRating value={puntuacion} onChange={setPuntuacion} size={20} />
|
||||
</div>
|
||||
<textarea
|
||||
value={comentario}
|
||||
onChange={(e) => setComentario(e.target.value)}
|
||||
|
||||
Reference in New Issue
Block a user