dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 99d5da4c0ab82fdb9a33923980a8a6e328b4cd75
parent 377394e2a19e0fc2166ab8017af766ac44c64d5b
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed,  6 Dec 2023 15:02:43 -0500

ui

Diffstat:
Mpkg/web/handlers/poker/poker.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go @@ -846,7 +846,7 @@ func colorForCard1(name string) string { } func buildYourCardsHtml(authUser *database.User, g *PokerGame) string { - html := `<div style="position: absolute; top: 500px; left: 200px;"><div id="yourCard1"></div><div id="yourCard2"></div></div>` + html := `<div style="position: absolute; top: 530px; left: 200px;"><div id="yourCard1"></div><div id="yourCard2"></div></div>` if g.Ongoing != nil { cards := make([]PlayerCard, 0) if p := g.Ongoing.GetPlayer(authUser.Username.String()); p != nil { @@ -1214,7 +1214,7 @@ body { #winner { position: absolute; top: 265px; left: 250px; } #yourCard1 { font-size: 22px; display: inline-block; margin-right: 15px; } #yourCard2 { font-size: 22px; display: inline-block; } -#errorMsg { position: absolute; top: 550px; left: 150px; color: darkred; } +#errorMsg { position: absolute; top: 580px; left: 150px; color: darkred; } #eventLogs { position: absolute; bottom: 5px; right: 5px; width: 200px; height: 200px; border: 1px solid black; background-color: #ccc; }