From 893802be559d90bd5a0ec24c13923e63cf18b019 Mon Sep 17 00:00:00 2001 From: Moyasee Date: Fri, 7 Nov 2025 13:27:24 +0200 Subject: [PATCH] fix: next suggestion and title not being showed --- src/main/services/steam-250.ts | 2 +- .../src/pages/game-details/game-details.scss | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/main/services/steam-250.ts b/src/main/services/steam-250.ts index 5652b0d3..826e528f 100644 --- a/src/main/services/steam-250.ts +++ b/src/main/services/steam-250.ts @@ -16,7 +16,7 @@ export const requestSteam250 = async (path: string) => { if (!steamGameUrl) return null; return { - title: $title.textContent, + title: $title.getAttribute("data-title") || "", objectId: steamGameUrl.split("/").pop(), } as Steam250Game; }) diff --git a/src/renderer/src/pages/game-details/game-details.scss b/src/renderer/src/pages/game-details/game-details.scss index f5f77a86..9fdc9485 100644 --- a/src/renderer/src/pages/game-details/game-details.scss +++ b/src/renderer/src/pages/game-details/game-details.scss @@ -130,6 +130,22 @@ } } + // Randomizer button styles + &__randomizer-button { + position: fixed; + bottom: calc(globals.$spacing-unit * 5); + right: calc(globals.$spacing-unit * 5); + z-index: 100; + padding: calc(globals.$spacing-unit * 1.5) calc(globals.$spacing-unit * 2); + overflow: visible; + } + + &__stars-icon-container { + width: 70px; + height: 70px; + position: relative; + } + // Skeleton-specific styles &__skeleton { .react-loading-skeleton {