commit f8303711c74ffdde97115e6b5bb13ec7cbf75dd2
parent e47ac00ab7d695875b87f29716f5511da897a92b
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Sat, 9 Nov 2024 11:57:04 -0800
fix css for dev in chrome
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg/web/handlers/interceptors/chess.go b/pkg/web/handlers/interceptors/chess.go
@@ -526,7 +526,7 @@ func (g *ChessGame) drawPlayerCard(moveIdx int, key string, isBlack, isSpectator
{{ if .GameOver }}
<div style="position: relative;">
<iframe src="/chess/{{ .Key }}/form" style="position: absolute; top: 0; left: 0; border: 0px solid red; z-index: 999; width: 100%; height: 100%;"></iframe>
- <div style="aspect-ratio: 1/1; height: 70%;">
+ <div style="aspect-ratio: 1/1;">
{{ .Table }}
</div>
</div>
@@ -535,7 +535,7 @@ func (g *ChessGame) drawPlayerCard(moveIdx int, key string, isBlack, isSpectator
{{ else }}
<div style="position: relative;">
<iframe src="/chess/{{ .Key }}/form" style="position: absolute; top: 0; left: 0; border: 0px solid red; z-index: 999; width: 100%; height: 100%;"></iframe>
- <div style="aspect-ratio: 1/1; height: 70%;">
+ <div style="aspect-ratio: 1/1;">
{{ .Table }}
<div style="height: 33px;"></div>
</div>