Merge branch 'feat/ui-1.0.3' into 'test'

fix: remove focus style from editor toolItem

See merge request opensource/answer!406
This commit is contained in:
Ren Yubin 2023-01-09 09:55:44 +00:00
commit a48767acd5
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;