dkforest

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

commit 83f30973aa4f19989a3b8149e3414a432dddb53f
parent 373373182ef0d15fcd08c8fd505d5bac8339f5c2
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed, 31 May 2023 03:30:56 -0700

improve style

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

diff --git a/pkg/web/handlers/api/v1/chess.go b/pkg/web/handlers/api/v1/chess.go @@ -282,7 +282,7 @@ func (g *ChessGame) DrawPlayerCard(roomName string, inChat, isBlack, isYourTurn {{ else }} <form method="post"> <input type="hidden" name="message" value="resign" /> - <button type="submit" style="background-color: #aaa;">Resign</button> + <button type="submit" style="background-color: #aaa; margin: 5px 0;">Resign</button> </form> {{ if .IsYourTurn }} <form method="post"{{ if .InChat }} action="/api/v1/chess"{{ end }}> @@ -294,7 +294,7 @@ func (g *ChessGame) DrawPlayerCard(roomName string, inChat, isBlack, isYourTurn {{ else }} <input type="hidden" name="message" value="/pm {{ .Username }} /c move" /> {{ end }} - <div style="width: 100%; display: flex; margin-top: 5px;"> + <div style="width: 100%; display: flex; margin: 5px 0;"> <div> <button type="submit" style="background-color: #aaa;">Move</button> </div>