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

chore: adjust tooltip border #1063

Merged
merged 1 commit into from
Apr 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Tooltip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type TProps = {

const Tooltip: React.FC<TProps> = ({
children,
animation = 'fade',
animation = 'scale',
noPadding = false,
onHide,
onShow,
Expand Down
2 changes: 0 additions & 2 deletions src/components/Tooltip/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import { css, theme } from '@/utils'
export const StyledTippy = styled(Tippy)`
position: relative;
background: ${theme('popover.bg')};
border: 1px solid;
border-color: ${theme('popover.borderColor')};
color: ${theme('thread.articleDigest')};
box-shadow: ${theme('popover.boxShadow')};
outline: none;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/unit/Comments/List/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const ActionTooltip: React.FC<TActionTooltip> = ({ children, desc }) => {
<Tooltip
content={<IconDescText>{desc}</IconDescText>}
placement="bottom"
delay={1000}
delay={200}
noPadding
>
{children}
Expand Down