Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 0a15926

Browse files
authored
chore: adjust tooltip border (#1063)
1 parent d5265a7 commit 0a15926

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/components/Tooltip/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type TProps = {
4949

5050
const Tooltip: React.FC<TProps> = ({
5151
children,
52-
animation = 'fade',
52+
animation = 'scale',
5353
noPadding = false,
5454
onHide,
5555
onShow,

src/components/Tooltip/styles/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import { css, theme } from '@/utils'
66
export const StyledTippy = styled(Tippy)`
77
position: relative;
88
background: ${theme('popover.bg')};
9-
border: 1px solid;
10-
border-color: ${theme('popover.borderColor')};
119
color: ${theme('thread.articleDigest')};
1210
box-shadow: ${theme('popover.boxShadow')};
1311
outline: none;

src/containers/unit/Comments/List/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const ActionTooltip: React.FC<TActionTooltip> = ({ children, desc }) => {
3333
<Tooltip
3434
content={<IconDescText>{desc}</IconDescText>}
3535
placement="bottom"
36-
delay={1000}
36+
delay={200}
3737
noPadding
3838
>
3939
{children}

0 commit comments

Comments
 (0)