dkforest

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

commit 912d36ca28b555b486a6bf3785b235691e137670
parent 0d509722492a4d154174d578f1cf2974c9560be9
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Thu, 15 Jun 2023 08:42:08 -0700

fix arrow obstructing outside it's context

Diffstat:
Mpkg/web/handlers/interceptors/chess.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/handlers/interceptors/chess.go b/pkg/web/handlers/interceptors/chess.go @@ -224,7 +224,7 @@ func (g *ChessGame) renderBoardHTML1(moveIdx int, position *chess.Position, isFl } htmlTmpl := ChessCSS + ` -<table class="newBoard" style=" background-repeat: no-repeat; background-size: cover; background-image: url(data:image/png;base64,{{ .ImgB64 }});"> +<table class="newBoard" style=" background-repeat: no-repeat; background-size: cover; background-image: url(data:image/png;base64,{{ .ImgB64 }}); overflow: hidden;"> {{ range $row := .Rows }} <tr> {{ range $col := $.Cols }}