|
|
@@ -398,6 +398,42 @@ const ProductDetails = () => {
|
|
398
|
398
|
</Box>
|
|
399
|
399
|
*/}
|
|
400
|
400
|
|
|
|
401
|
+ {product?.descriptionHtml && (
|
|
|
402
|
+ <Box
|
|
|
403
|
+ sx={{
|
|
|
404
|
+ color: "text.secondary",
|
|
|
405
|
+ fontSize: {
|
|
|
406
|
+ xs: "0.875rem",
|
|
|
407
|
+ md: "1rem"
|
|
|
408
|
+ },
|
|
|
409
|
+ lineHeight: 1.45,
|
|
|
410
|
+ "& > div": {
|
|
|
411
|
+ overflow: "visible"
|
|
|
412
|
+ },
|
|
|
413
|
+ "& p": {
|
|
|
414
|
+ mt: 0,
|
|
|
415
|
+ mb: "1em"
|
|
|
416
|
+ },
|
|
|
417
|
+ "& ul": {
|
|
|
418
|
+ mt: 0,
|
|
|
419
|
+ mb: "1.25em",
|
|
|
420
|
+ pl: 2.5
|
|
|
421
|
+ },
|
|
|
422
|
+ "& li": {
|
|
|
423
|
+ mb: 0.5
|
|
|
424
|
+ },
|
|
|
425
|
+ "& strong, & b": {
|
|
|
426
|
+ fontWeight: 700
|
|
|
427
|
+ },
|
|
|
428
|
+ "& *:first-child": {
|
|
|
429
|
+ marginTop: "0 !important"
|
|
|
430
|
+ }
|
|
|
431
|
+ }}
|
|
|
432
|
+ >
|
|
|
433
|
+ <div dangerouslySetInnerHTML={{ __html: product?.descriptionHtml }}></div>
|
|
|
434
|
+ </Box>
|
|
|
435
|
+ )}
|
|
|
436
|
+
|
|
401
|
437
|
<Typography
|
|
402
|
438
|
variant="body2"
|
|
403
|
439
|
sx={{
|