mirror of
https://github.com/TheRealOwenRees/chess-scribe-website.git
synced 2026-07-23 01:46:57 +00:00
change layout of clear button and other chessboard related bottom buttons
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
- og / json-sd
|
- og / json-sd
|
||||||
- Lichess login
|
- Lichess login
|
||||||
- logger
|
- logger
|
||||||
- contact form
|
|
||||||
- bring sections headers on all pages other than home page further up (reduce top margin / padding)
|
- bring sections headers on all pages other than home page further up (reduce top margin / padding)
|
||||||
- set game current position on game load to ply 0 and whatever the FEN is (starting position probably, but could be custom position)
|
- set game current position on game load to ply 0 and whatever the FEN is (starting position probably, but could be custom position)
|
||||||
- privacy policy - have no access to anything you generate, only keep a count of success/failed pdf generations with timestamp and error message
|
- privacy policy - have no access to anything you generate, only keep a count of success/failed pdf generations with timestamp and error message
|
||||||
|
|||||||
@@ -53,15 +53,15 @@ const Chessboard = () => {
|
|||||||
gamePgn={gameState.pgn || ""}
|
gamePgn={gameState.pgn || ""}
|
||||||
handlePlyChange={handlePlyChange}
|
handlePlyChange={handlePlyChange}
|
||||||
/>
|
/>
|
||||||
<div className="grid grid-cols-3 gap-2 max-w-150 mt-2">
|
<div className="grid grid-cols-12 gap-4 max-w-150 mt-2">
|
||||||
<button
|
<button
|
||||||
className="btn btn-primary"
|
className="btn btn-primary col-span-5 flex items-center justify-center"
|
||||||
type="button"
|
type="button"
|
||||||
onClick={handleClearGame}
|
onClick={handleClearGame}
|
||||||
>
|
>
|
||||||
Clear Game
|
<p className="text-sm font-semibold">Clear Game</p>
|
||||||
</button>
|
</button>
|
||||||
<div className="flex gap-2 items-center">
|
<div className="flex gap-1 items-center col-span-3">
|
||||||
<label
|
<label
|
||||||
htmlFor="diagram-add"
|
htmlFor="diagram-add"
|
||||||
className="text-sm text-(--base-content)"
|
className="text-sm text-(--base-content)"
|
||||||
@@ -80,7 +80,7 @@ const Chessboard = () => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label className="toggle text-sm text-(--base-content)">
|
<label className="toggle text-sm text-(--base-content) col-span-4">
|
||||||
Render move times
|
Render move times
|
||||||
<input
|
<input
|
||||||
id="render-times"
|
id="render-times"
|
||||||
|
|||||||
Reference in New Issue
Block a user