File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ export function GameEmbed({
3636 alt = "Game Cover"
3737 width = { gameWidth }
3838 height = { gameHeight }
39- className = "absolute left-[50%] top-[50%] translate-x-[-50%] translate-y-[calc(-50%-26px )] blur-sm"
40- style = { { width : "auto" , height : gameHeight - 26 } }
39+ className = "absolute translate-x-[-50%] translate-y-[calc(-50%)] blur-sm"
40+ style = { { width : "auto" , height : gameHeight - 52 } }
4141 />
4242 < Button
4343 onClick = { ( ) => setIsPlaying ( ! isPlaying ) }
4444 size = { "lg" }
45- className = "absolute left-[50%] top-[50%] translate-x-[-50%] translate-y-[calc(-50%-52px )] text-3xl"
45+ className = "absolute translate-x-[-50%] translate-y-[calc(-50%)] text-3xl"
4646 >
4747 Play
4848 </ Button >
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export default function IndividualGamePage() {
9090 < section className = "w-full items-center justify-center bg-popover" >
9191 < div className = "mx-auto max-w-7xl p-0 sm:p-8" >
9292 { gameEmbedID != "0" ? (
93- < div className = "flex justify-center " >
93+ < div className = "m-auto] flex overflow-auto " >
9494 < GameEmbed
9595 embedID = { gameEmbedID }
9696 gameWidth = { gameWidth }
You can’t perform that action at this time.
0 commit comments