Interface modification for the default game page

This commit is contained in:
spectre365
2025-10-22 17:20:48 -03:00
parent 7435bff64f
commit ca35da37ed
2 changed files with 7 additions and 5 deletions

View File

@@ -18,11 +18,11 @@
top: 0; top: 0;
z-index: 2; z-index: 2;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
border-radius: 8px; border-radius: 8px;
&__container { &__container {
padding: 0px 12px 12px; padding: 0px 12px 12px;
margin: 0; margin: 0;
} }
&--stuck { &--stuck {

View File

@@ -61,7 +61,9 @@ export function HeroPanel() {
<progress <progress
max={1} max={1}
value={ value={
isGameDownloading ? lastPacket?.progress : game?.download?.progress isGameDownloading
? lastPacket?.progress
: game?.download?.progress
} }
className={`hero-panel__progress-bar ${ className={`hero-panel__progress-bar ${
game?.download?.status === "paused" game?.download?.status === "paused"