Skip to content

Commit

Permalink
refactor: Update margin and icon size in Canvas component
Browse files Browse the repository at this point in the history
  • Loading branch information
trheyi committed Jun 4, 2024
1 parent 7cb3444 commit fd2d298
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ const Index = (props: IProps) => {
title={is_cn ? '插入' : 'Insert'}
placement={fullscreen ? 'bottom' : 'top'}
>
<a style={{ marginRight: 24, marginTop: 2 }} onClick={showPresets}>
<a style={{ marginRight: 12, marginTop: 2 }} onClick={showPresets}>
<Icon name='icon-plus-circle' size={16} />
</a>
</Tooltip>
Expand Down Expand Up @@ -453,7 +453,7 @@ const Index = (props: IProps) => {
) : (
<Tooltip title={is_cn ? '退出全屏' : 'Exit Full Screen'} placement='bottom'>
<a
style={{ marginRight: 16, marginTop: 2 }}
style={{ marginRight: 12, marginTop: 2 }}
onClick={() => setFullscreen(false)}
>
<Icon name='icon-minimize' size={16} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ const Index = (props: IProps) => {
title={is_cn ? '插入' : 'Insert'}
placement={props.fullscreen ? 'bottom' : 'top'}
>
<a style={{ marginRight: 24, marginTop: 2 }} onClick={showPresets}>
<a style={{ marginRight: 12, marginTop: 2 }} onClick={showPresets}>
<Icon name='icon-plus-circle' size={16} />
</a>
</Tooltip>
Expand Down Expand Up @@ -413,7 +413,7 @@ const Index = (props: IProps) => {
) : (
<Tooltip title={is_cn ? '退出全屏' : 'Exit Full Screen'} placement='bottom'>
<a
style={{ marginRight: 16, marginTop: 2 }}
style={{ marginRight: 12, marginTop: 2 }}
onClick={() => props.setFullscreen(false)}
>
<Icon name='icon-minimize' size={16} />
Expand Down

0 comments on commit fd2d298

Please sign in to comment.