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",
|
position: "relative",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{runningGame && (
|
{runningGame && isMe && (
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
background: `url(${steamUrlBuilder.libraryHero(runningGame.objectID)})`,
|
background: `url(${steamUrlBuilder.libraryHero(runningGame.objectID)})`,
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
inset: 0,
|
inset: 0,
|
||||||
backgroundSize: "cover",
|
backgroundSize: "cover",
|
||||||
|
borderRadius: "4px",
|
||||||
}}
|
}}
|
||||||
></div>
|
></div>
|
||||||
)}
|
)}
|
||||||
@ -120,6 +121,7 @@ export function UserContent({
|
|||||||
background: profileContentBoxBackground,
|
background: profileContentBoxBackground,
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
inset: 0,
|
inset: 0,
|
||||||
|
borderRadius: "4px",
|
||||||
}}
|
}}
|
||||||
></div>
|
></div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user