Fix display error in heroLayout
This commit is contained in:
1 file changed
+4
-4
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user