Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
goccy committed Jan 10, 2025
1 parent 12be5d4 commit 7d1b522
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/playground/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,12 @@ const TerminalComponent = (v: any) => {
}

const CustomTooltip = styled(({ className, ...props }: TooltipProps) => (
<Tooltip {...props} classes={{ popper: className }} />
<Tooltip {...props}
classes={{ popper: className }}
enterTouchDelay={0}
followCursor
arrow
/>
))({
[`& .${tooltipClasses.tooltip}`]: {
fontSize: 16,
Expand Down Expand Up @@ -366,8 +371,6 @@ const groupTokenToComponent = (g: TokenGroup, groups: string[]) => {
key={`${tokenGroupToKey(g)}-tooltip`}
sx={{ zIndex: 1500 + newGroups.length }}
title={newGroups.join(' > ')}
followCursor
arrow
>
<Box
key={`${tokenGroupToKey(g)}`}
Expand Down

0 comments on commit 7d1b522

Please sign in to comment.