feat(F-101): completed feature

This commit is contained in:
chattie
2026-08-21 10:13:49 +02:00
parent b87f4f0c85
commit e46faa869a
9 changed files with 82 additions and 24 deletions

View File

@@ -200,7 +200,7 @@ export default async function ProductPage({ params }: Props) {
<div className="mt-8">
<h2 className="text-lg font-semibold text-gray-900 mb-2">Descripción</h2>
<div
className="text-gray-600 leading-relaxed rich-text prose prose-sm max-w-none"
className="text-gray-600 leading-relaxed rich-text prose prose-sm max-w-none text-justify"
dangerouslySetInnerHTML={{ __html: formatRichText(product.description) }}
/>
</div>

View File

@@ -88,7 +88,7 @@ export default async function ProductPage({ params }: PageProps) {
</h1>
<div className="text-lg leading-8 text-stone-700">
{product.description ? (
<div className="rich-text" dangerouslySetInnerHTML={{ __html: formatRichText(product.description) }} />
<div className="rich-text text-justify" dangerouslySetInnerHTML={{ __html: formatRichText(product.description) }} />
) : (
'Producto del catálogo público de mercadodevida.'
)}