fix : padding & packages versions
This commit is contained in:
@@ -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