refactor(ui): remove useless styles

This commit is contained in:
robin
2023-01-10 15:45:06 +08:00
parent 2c23b8396b
commit a12a654064
2 changed files with 2 additions and 4 deletions
+2 -1
View File
@@ -52,10 +52,11 @@ const ToolItem: FC<IProps> = (props) => {
<OverlayTrigger placement="bottom" overlay={<Tooltip>{tip}</Tooltip>}>
<Button
variant="link"
className={`p-0 b-0 btn-no-border btn-no-focus toolbar icon-${label} ${
className={`p-0 b-0 btn-no-border toolbar icon-${label} ${
disable ? 'disabled' : ''
} `}
disabled={disable}
tabIndex={-1}
onClick={(e) => {
e.preventDefault();
if (typeof onClick === 'function') {
-3
View File
@@ -119,9 +119,6 @@ a {
border: none;
box-shadow: none;
}
.btn-no-focus:focus {
background-color: unset !important;
}
.pointer:hover {
cursor: pointer;