Merge branch 'feat/ui-1.0.3' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.3

This commit is contained in:
haitao(lj) 2023-01-09 18:17:26 +08:00
commit a228dc3914
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;