fix: fixing how long to beat broken logic

This commit is contained in:
Chubby Granny Chaser
2025-09-30 03:59:08 +01:00
parent 26dfb6db8e
commit 0df5486fec
2 changed files with 3 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ export function HowLongToBeatSection({
return `${value} ${t(durationTranslation[unit])}`;
};
if (!howLongToBeatData && !isLoading) return null;
if (!howLongToBeatData || !isLoading) return null;
return (
<SkeletonTheme baseColor="#1c1c1c" highlightColor="#444">

View File

@@ -1,14 +1,11 @@
@use "../../../scss/globals.scss";
.content-sidebar {
background-color: transparent;
border-left: solid 1px globals.$border-color;
background-color: globals.$dark-background-color;
height: 100%;
flex-shrink: 0;
width: 280px;
padding: calc(globals.$spacing-unit * 1);
display: flex;
flex-direction: column;
gap: calc(globals.$spacing-unit * 1.5);
@media (min-width: 1024px) {
width: 320px;