commit fb6294db61acc4db3ac45276a65ceae1a65a34a0 parent 0c92b580f782451293d2ab42a162a0acffde0b48 Author: n0tr1v <n0tr1v@protonmail.com> Date: Mon, 4 Dec 2023 21:40:31 -0500 style Diffstat:
| M | pkg/web/handlers/poker.go | | | 13 | ++++++------- |
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/pkg/web/handlers/poker.go b/pkg/web/handlers/poker.go @@ -365,7 +365,6 @@ func PokerDealHandler(c echo.Context) error { } if c.Request().Method == http.MethodPost { g.Deal(roomID) - return c.HTML(http.StatusOK, ``) } return c.HTML(http.StatusOK, `<form method="post"><button>Deal</button></form>`) } @@ -551,12 +550,12 @@ body { .takeSeat8 { position: absolute; top: 300px; left: 350px; } .takeSeat9 { position: absolute; top: 300px; left: 300px; } .takeSeat10 { position: absolute; top: 300px; left: 250px; } -#dealBtn { position: absolute; top: 400px; left: 50px; width: 50px; height: 30px; } -#unSitBtn { position: absolute; top: 430px; left: 50px; width: 50px; height: 30px; } -#checkBtn { width: 80px; height: 30px; } -#foldBtn { width: 80px; height: 30px; } -#callBtn { width: 80px; height: 30px; } -#betBtn { width: 250px; height: 30px; } +#dealBtn { position: absolute; top: 400px; left: 50px; width: 80px; height: 30px; } +#unSitBtn { position: absolute; top: 430px; left: 50px; width: 80px; height: 30px; } +#checkBtn { width: 60px; height: 30px; } +#foldBtn { width: 50px; height: 30px; } +#callBtn { width: 50px; height: 30px; } +#betBtn { width: 200px; height: 30px; } </style>`) drawSeats := func() {