fix : padding & packages versions
This commit is contained in:
654
package-lock.json
generated
654
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -23,7 +23,7 @@
|
||||
"firebase": "^11.1.0",
|
||||
"idb": "^8.0.1",
|
||||
"jotai": "^2.11.0",
|
||||
"next": "15.1.3",
|
||||
"next": "15.2.4",
|
||||
"react": "18.3.1",
|
||||
"react-chessboard": "^4.7.2",
|
||||
"react-dom": "18.3.1",
|
||||
|
||||
@@ -65,16 +65,21 @@ export default function PanelToolBar() {
|
||||
<NextMoveButton />
|
||||
|
||||
<GoToLastPositionButton />
|
||||
|
||||
<Tooltip title="Copy pgn">
|
||||
<IconButton
|
||||
disabled={game.history().length === 0}
|
||||
onClick={() => {
|
||||
navigator.clipboard.writeText(game.pgn());
|
||||
}}
|
||||
>
|
||||
<Icon icon="ri:clipboard-line" height={30} />
|
||||
</IconButton>
|
||||
<Grid>
|
||||
<IconButton
|
||||
disabled={game.history().length === 0}
|
||||
onClick={() => {
|
||||
navigator.clipboard.writeText(game.pgn());
|
||||
}}
|
||||
sx={{ paddingX: 1.2, paddingY: 0.5 }}
|
||||
>
|
||||
<Icon icon="ri:clipboard-line" />
|
||||
</IconButton>
|
||||
</Grid>
|
||||
</Tooltip>
|
||||
|
||||
<SaveButton />
|
||||
</Grid>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user