fix: remove focus style from editor toolItem

This commit is contained in:
robin 2023-01-09 17:51:09 +08:00
parent 2e7e4806d1
commit 5a1892935b
2 changed files with 4 additions and 1 deletions

View File

@ -52,7 +52,7 @@ const ToolItem: FC<IProps> = (props) => {
<OverlayTrigger placement="bottom" overlay={<Tooltip>{tip}</Tooltip>}>
<Button
variant="link"
className={`p-0 b-0 btn-no-border toolbar icon-${label} ${
className={`p-0 b-0 btn-no-border btn-no-focus toolbar icon-${label} ${
disable ? 'disabled' : ''
} `}
disabled={disable}

View File

@ -119,6 +119,9 @@ a {
border: none;
box-shadow: none;
}
.btn-no-focus:focus {
background-color: unset !important;
}
.pointer:hover {
cursor: pointer;