feat(F-101): completed feature
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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.'
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user