mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 08:43:48 +03:00
fix border radius for profile background with game hero
This commit is contained in:
parent
c01c589f2a
commit
94a25a2383
@ -104,13 +104,14 @@ export function UserContent({
|
||||
position: "relative",
|
||||
}}
|
||||
>
|
||||
{runningGame && (
|
||||
{runningGame && isMe && (
|
||||
<div
|
||||
style={{
|
||||
background: `url(${steamUrlBuilder.libraryHero(runningGame.objectID)})`,
|
||||
position: "absolute",
|
||||
inset: 0,
|
||||
backgroundSize: "cover",
|
||||
borderRadius: "4px",
|
||||
}}
|
||||
></div>
|
||||
)}
|
||||
@ -120,6 +121,7 @@ export function UserContent({
|
||||
background: profileContentBoxBackground,
|
||||
position: "absolute",
|
||||
inset: 0,
|
||||
borderRadius: "4px",
|
||||
}}
|
||||
></div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user