fix: tooltip covered by high z index element (#295)

This commit is contained in:
Joel 2023-06-05 10:49:06 +08:00 committed by GitHub
parent a838ba7b46
commit 4134e915ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ const Tooltip: FC<TooltipProps> = ({
<ReactTooltip
id={selector}
content={content}
className={classNames('!bg-white !text-xs !font-normal !text-gray-700 !shadow-lg !opacity-100', className)}
className={classNames('!z-[999] !bg-white !text-xs !font-normal !text-gray-700 !shadow-lg !opacity-100', className)}
place={position}
clickable={clickable}
isOpen={disabled ? false : undefined}