mirror of https://gitee.com/answerdev/answer.git
fix: remove focus style from editor toolItem
This commit is contained in:
parent
2e7e4806d1
commit
5a1892935b
|
@ -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}
|
||||
|
|
|
@ -119,6 +119,9 @@ a {
|
|||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.btn-no-focus:focus {
|
||||
background-color: unset !important;
|
||||
}
|
||||
|
||||
.pointer:hover {
|
||||
cursor: pointer;
|
||||
|
|
Loading…
Reference in New Issue