refactor(ui): remove useless styles
This commit is contained in:
@@ -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') {
|
||||
|
||||
@@ -119,9 +119,6 @@ a {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.btn-no-focus:focus {
|
||||
background-color: unset !important;
|
||||
}
|
||||
|
||||
.pointer:hover {
|
||||
cursor: pointer;
|
||||
|
||||
Reference in New Issue
Block a user