upd
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user