style cleanup

This commit is contained in:
2025-08-12 19:40:54 -04:00
parent 01d1571b0e
commit 4419dd7acc
8 changed files with 50 additions and 105 deletions

View File

@@ -30,19 +30,13 @@ export default (props: { instanceId: string }) => {
return (
<GameContext.Provider value={{ view, submitAction }}>
<Show when={view.latest != undefined}>
<div
class="full column center"
style={{ "row-gap": "20px", "font-size": "32px" }}
>
<div class="full center">
<Pile
count={view.latest!.deckCount}
style={{ cursor: "pointer" }}
onClick={() => submitAction({ type: "draw" })}
/>
</div>
<Hand hand={view.latest!.myHand} />
</div>
<Pile
count={view.latest!.deckCount}
class="cursor-pointer fixed center"
onClick={() => submitAction({ type: "draw" })}
/>
<Hand class="fixed bc" hand={view.latest!.myHand} />
</Show>
</GameContext.Provider>
);