fix
This commit is contained in:
@@ -74,7 +74,7 @@ class PrerenderProduct extends React.Component {
|
|||||||
{ sx: { minHeight: 64 } },
|
{ sx: { minHeight: 64 } },
|
||||||
React.createElement(
|
React.createElement(
|
||||||
Container,
|
Container,
|
||||||
{ maxWidth: 'lg', sx: { display: 'flex', alignItems: 'center' } },
|
{ maxWidth: 'lg', sx: { display: 'flex', alignItems: 'center', px: { xs: 0, sm: 3 } } },
|
||||||
React.createElement(Logo)
|
React.createElement(Logo)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -245,10 +245,10 @@ class PrerenderProduct extends React.Component {
|
|||||||
cleanProductName(product.name)
|
cleanProductName(product.name)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
// Manufacturer if available - fixed height placeholder
|
// Manufacturer if available
|
||||||
React.createElement(
|
React.createElement(
|
||||||
Box,
|
Box,
|
||||||
{ sx: { display: "flex", alignItems: "center", mb: 2, minHeight: "28px" } },
|
{ sx: { display: "flex", alignItems: "center", mb: 2 } },
|
||||||
product.manufacturer && React.createElement(
|
product.manufacturer && React.createElement(
|
||||||
Typography,
|
Typography,
|
||||||
{ variant: 'body2', sx: { fontStyle: "italic" } },
|
{ variant: 'body2', sx: { fontStyle: "italic" } },
|
||||||
|
|||||||
Reference in New Issue
Block a user