commit 6e090b6fceaa1dd4179124cbf3791d0ce9f442ad
parent 1892b2f35dc6d414524bf1711166dac284fd6087
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Sun, 11 Jun 2023 23:37:32 -0700
cleanup
Diffstat:
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/pkg/web/handlers/interceptors/chess.go b/pkg/web/handlers/interceptors/chess.go
@@ -307,13 +307,7 @@ func (g *ChessGame) DrawPlayerCard(key string, isBlack, isYourTurn bool) string
func (g *ChessGame) drawPlayerCard(key string, isBlack, isSpectator, isYourTurn bool) string {
htmlTmpl := `
-<style>
-.tmp {
- width: 100%;
- height: 100%;
-}
-</style>
-<table class="tmp">
+<table style="width: 100%; height: 100%;">
<tr>
<td align="center">
<table style="aspect-ratio: 1/1; height: 70%; max-width: 90%;">