moving eggolfball

This commit is contained in:
mehbark 2023-08-23 21:31:10 -04:00
parent eba4ae0813
commit bfc7676b52

View file

@ -1,18 +1,30 @@
import { EggbugImg, render_and_copy } from "./common.tsx"; import { EggbugImg, render_and_copy } from "./common.tsx";
render_and_copy( render_and_copy(
<div style={{ resize: "both", overflow: "hidden" }}> <div
<div style={{
resize: "both",
overflow: "hidden",
position: "relative",
// TODO: V REMOVE ME V
outline: "1px solid red",
height: "10rem",
}}
>
<EggbugImg
type="golfball"
style={{ style={{
margin: 0,
position: "absolute", position: "absolute",
right: 0, right: 0,
bottom: 0, bottom: 0,
aspectRatio: 1,
width: "5rem", width: "5rem",
height: "5rem",
pointerEvents: "none", pointerEvents: "none",
}} }}
> />
<EggbugImg type="golfball" style={{ margin: 0 }} />
</div>
</div> </div>
); );
// OOOO: score with like a dial thing and an arrow pointing to it
// might be possible to have multiple holes with a details element that comes into frame hm