This commit is contained in:
sebseb7
2025-07-20 00:22:43 +02:00
parent 27de1c3406
commit 5d14bef740

View File

@@ -223,27 +223,19 @@ class PrerenderProduct extends React.Component {
(this.props.t ? this.props.t('product.articleNumber') : 'Artikelnummer')+': '+product.articleNumber+' '+(product.gtin ? ` | GTIN: ${product.gtin}` : "")
)
),
// Product title - reserve space for 2 lines
// Product title
React.createElement(
Box,
{ sx: { mb: 2, minHeight: "72px" } },
React.createElement(
Typography,
{
variant: 'h4',
component: 'h1',
sx: {
fontWeight: 600,
color: "#333",
display: '-webkit-box',
WebkitLineClamp: 2,
WebkitBoxOrient: 'vertical',
overflow: 'hidden',
lineHeight: 1.2
}
},
cleanProductName(product.name)
)
Typography,
{
variant: 'h4',
component: 'h1',
gutterBottom: true,
sx: {
fontWeight: 600,
color: "#333"
}
},
cleanProductName(product.name)
),
// Manufacturer if available
React.createElement(