Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit0a15926

Browse files
authored
chore: adjust tooltip border (#1063)
1 parentd5265a7 commit0a15926

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
constTooltip: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
exportconstStyledTippy=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)

[8]ページ先頭

©2009-2025 Movatter.jp