commit 34ae8fdfb6c47c23b191e13c1889e39656a98569
parent d5354c5392ea1fcd47cdc3f85c73f82ecefca324
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Sun, 11 Jun 2023 21:58:56 -0700
cleanup
Diffstat:
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/pkg/web/handlers/handlers.go b/pkg/web/handlers/handlers.go
@@ -4941,10 +4941,6 @@ func ChessGameFormHandler(c echo.Context) error {
height: 12.5%;
background-size: 100%;
}
-.idk {
- width: 100%;
- height: 100%;
-}
label {
position: absolute;
width: 12.5%;
@@ -4979,9 +4975,9 @@ input[type=checkbox]:checked + label {
out += "<tr>"
for col := 0; col < 8; col++ {
id := interceptors.GetID(row, col, isFlipped)
- out += `<td><div class="idk">`
+ out += `<td>`
out += fmt.Sprintf(`<input name="sq_%d" id="sq_%d" type="checkbox" value="1" /><label for="sq_%d"></label>`, id, id, id)
- out += "</div></td>"
+ out += "</td>"
}
out += "</tr>"
}