mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-23 19:01:02 +00:00
fix: fixing how long to beat broken logic
This commit is contained in:
@@ -25,7 +25,7 @@ export function HowLongToBeatSection({
|
|||||||
return `${value} ${t(durationTranslation[unit])}`;
|
return `${value} ${t(durationTranslation[unit])}`;
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!howLongToBeatData && !isLoading) return null;
|
if (!howLongToBeatData || !isLoading) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SkeletonTheme baseColor="#1c1c1c" highlightColor="#444">
|
<SkeletonTheme baseColor="#1c1c1c" highlightColor="#444">
|
||||||
|
|||||||
@@ -1,14 +1,11 @@
|
|||||||
@use "../../../scss/globals.scss";
|
@use "../../../scss/globals.scss";
|
||||||
|
|
||||||
.content-sidebar {
|
.content-sidebar {
|
||||||
background-color: transparent;
|
border-left: solid 1px globals.$border-color;
|
||||||
|
background-color: globals.$dark-background-color;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
width: 280px;
|
width: 280px;
|
||||||
padding: calc(globals.$spacing-unit * 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: calc(globals.$spacing-unit * 1.5);
|
|
||||||
|
|
||||||
@media (min-width: 1024px) {
|
@media (min-width: 1024px) {
|
||||||
width: 320px;
|
width: 320px;
|
||||||
|
|||||||
Reference in New Issue
Block a user