From c928d6fd4be7a057b9bf00aaee66f889fad56b91 Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Thu, 20 Jun 2024 22:11:37 +0100 Subject: [PATCH] fix: fixing surprise button z-index --- src/renderer/src/components/sidebar/sidebar-profile.css.ts | 2 +- src/renderer/src/pages/game-details/game-details.css.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/components/sidebar/sidebar-profile.css.ts b/src/renderer/src/components/sidebar/sidebar-profile.css.ts index 9681c866..a2113bc5 100644 --- a/src/renderer/src/components/sidebar/sidebar-profile.css.ts +++ b/src/renderer/src/components/sidebar/sidebar-profile.css.ts @@ -9,7 +9,7 @@ export const profileButton = style({ padding: `${SPACING_UNIT * 2}px ${SPACING_UNIT * 2}px`, color: vars.color.muted, borderBottom: `solid 1px ${vars.color.border}`, - boxShadow: "0px 0px 15px 0px #000000", + boxShadow: "0px 0px 15px 0px rgb(0 0 0 / 70%)", ":hover": { backgroundColor: "rgba(255, 255, 255, 0.15)", }, diff --git a/src/renderer/src/pages/game-details/game-details.css.ts b/src/renderer/src/pages/game-details/game-details.css.ts index fd8a48be..8dc5d4cb 100644 --- a/src/renderer/src/pages/game-details/game-details.css.ts +++ b/src/renderer/src/pages/game-details/game-details.css.ts @@ -138,8 +138,9 @@ export const randomizerButton = style({ bottom: `${26 + SPACING_UNIT * 2}px`, /* Scroll bar + spacing */ right: `${9 + SPACING_UNIT * 2}px`, - boxShadow: "rgba(255, 255, 255, 0.1) 0px 0px 10px 3px", + boxShadow: "rgba(255, 255, 255, 0.1) 0px 0px 10px 1px", border: `solid 2px ${vars.color.border}`, + zIndex: "1", backgroundColor: vars.color.background, ":hover": { backgroundColor: vars.color.background,