summaryrefslogtreecommitdiff
path: root/src-migrate/modules/product-detail/components/ProductDetail.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/modules/product-detail/components/ProductDetail.tsx')
-rw-r--r--src-migrate/modules/product-detail/components/ProductDetail.tsx27
1 files changed, 26 insertions, 1 deletions
diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx
index 832694f6..13350433 100644
--- a/src-migrate/modules/product-detail/components/ProductDetail.tsx
+++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx
@@ -602,7 +602,32 @@ const ProductDetail = ({ product }: Props) => {
{/* DESKRIPSI */}
<TabPanel px={0} py={6}>
<div className='overflow-x-auto text-sm text-gray-700'>
- <div className={style['description']} dangerouslySetInnerHTML={{ __html: cleanDescription }} />
+ <Box
+ className={style['description']}
+ sx={{
+ 'ul, ol': {
+ marginTop: '0.5em !important',
+ marginBottom: '1em !important',
+ marginLeft: '0 !important',
+
+ listStylePosition: 'outside !important',
+ paddingLeft: '1.5em !important'
+ },
+ 'ul': {
+ listStyleType: 'disc !important'
+ },
+ 'ol': {
+ listStyleType: 'decimal !important'
+ },
+
+ 'li': {
+ marginBottom: '0.4em !important',
+ paddingLeft: '0.3em !important',
+ lineHeight: '1.6 !important'
+ }
+ }}
+ dangerouslySetInnerHTML={{ __html: cleanDescription }}
+ />
</div>
</TabPanel>