A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: remove focus style from editor toolItem
robin5a1892935b0a
diff --git a/ui/src/components/Editor/toolItem.tsx b/ui/src/components/Editor/toolItem.tsxindex a4875f76..9215b397 100644--- a/ui/src/components/Editor/toolItem.tsx+++ b/ui/src/components/Editor/toolItem.tsx@@ -52,7 +52,7 @@ const ToolItem: FC<IProps> = (props) => {<OverlayTrigger placement="bottom" overlay={<Tooltip>{tip}</Tooltip>}><Buttonvariant="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}diff --git a/ui/src/index.scss b/ui/src/index.scssindex 4e8a9135..780a71e2 100644--- a/ui/src/index.scss+++ b/ui/src/index.scss@@ -119,6 +119,9 @@ a {border: none;box-shadow: none;}+.btn-no-focus:focus {+ background-color: unset !important;+}.pointer:hover {cursor: pointer;