Fix display error in heroLayout

This commit is contained in:
Prayag Prajapati committed 2023-12-17 19:19:09 +05:30
1 parent 3134818ca7
commit 32e439c495
1 file changed
+4 -4
+4 -4
View File
@@ -430,8 +430,8 @@ const Hero = ({
<div <div
className="material-symbols-rounded " className="material-symbols-rounded "
style={{ style={{
fontSize: "2.2em", // fontSize: "2.2em",
color: yellow[700], color: yellow[400],
fontVariationSettings: fontVariationSettings:
'"FILL" 1, "wght" 300, "GRAD" 25, "opsz" 40', '"FILL" 1, "wght" 300, "GRAD" 25, "opsz" 40',
}} }}
@@ -451,7 +451,7 @@ const Hero = ({
</Typography> </Typography>
</div> </div>
</ErrorBoundary> </ErrorBoundary>
<ErrorBoundary fallback={<></>}> {Boolean(item.CriticRating) && (
<div <div
style={{ style={{
display: "flex", display: "flex",
@@ -479,7 +479,7 @@ const Hero = ({
{item.CriticRating} {item.CriticRating}
</Typography> </Typography>
</div> </div>
</ErrorBoundary> )}
{!!item.RunTimeTicks && ( {!!item.RunTimeTicks && (
<Typography <Typography