Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +3 -3
templates/index.html
CHANGED
|
@@ -9,12 +9,12 @@
|
|
| 9 |
<h1>Position Search</h1>
|
| 10 |
<p> Search for Lichess puzzles by position</p>
|
| 11 |
<div class="container">
|
| 12 |
-
<div
|
| 13 |
<div id="board"></div>
|
| 14 |
-
<div style="margin-top: 10px; display: flex; gap: 10px; align-items: center;">
|
| 15 |
<button onclick="board.clear(); document.getElementById('results').innerHTML = ''; updateInfo();">Clear</button>
|
| 16 |
<button onclick="search()">Search</button>
|
| 17 |
-
<input type="text" id="fen" placeholder="Paste FEN here..." style="flex: 1; padding: 8px; font-family: monospace;">
|
| 18 |
<button onclick="let f=document.getElementById('fen').value.trim(); if(f) { board.position(f.split(' ')[0]); updateInfo(); }">Load</button>
|
| 19 |
</div>
|
| 20 |
</div>
|
|
|
|
| 9 |
<h1>Position Search</h1>
|
| 10 |
<p> Search for Lichess puzzles by position</p>
|
| 11 |
<div class="container">
|
| 12 |
+
<div>
|
| 13 |
<div id="board"></div>
|
| 14 |
+
<div style="margin-top: 10px; display: flex; gap: 10px; align-items: center; width: var(--board-width);">
|
| 15 |
<button onclick="board.clear(); document.getElementById('results').innerHTML = ''; updateInfo();">Clear</button>
|
| 16 |
<button onclick="search()">Search</button>
|
| 17 |
+
<input type="text" id="fen" placeholder="Paste FEN here..." style="flex: 1; padding: 8px; font-family: monospace; min-width: 0;">
|
| 18 |
<button onclick="let f=document.getElementById('fen').value.trim(); if(f) { board.position(f.split(' ')[0]); updateInfo(); }">Load</button>
|
| 19 |
</div>
|
| 20 |
</div>
|