📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
restore tooltip
kruzhambusb5b7f91e75c6
diff --git a/src/ui/Beta.jsx b/src/ui/Beta.jsxindex 51253dd7b..897ae5679 100644--- a/src/ui/Beta.jsx+++ b/src/ui/Beta.jsx@@ -12,6 +12,7 @@ const Beta = ({return (<Tooltip+ className='max-w-content !w-full'tooltipNode={(<WarningPin className={className} label={t('beta.title')} />)}diff --git a/src/ui/Tooltip.jsx b/src/ui/Tooltip.jsxindex 9298e3c39..c91ff03d2 100644--- a/src/ui/Tooltip.jsx+++ b/src/ui/Tooltip.jsx@@ -6,15 +6,15 @@ import cx from 'clsx'const Tooltip = ({text, className, tooltipNode,}) => (- <div className={cx('w-5 h-5 relative flex flex-col group items-center', className, { 'items-end': !tooltipNode })}>+ <div className={cx('w-5 h-5 relative flex flex-col group items-center', className)}>{tooltipNode || (- <QuestionMarkCircleIcon className='w-5 h-5 text-gray-700 dark:text-gray-300' />+ <QuestionMarkCircleIcon className='w-5 h-5 text-gray-700 dark:text-gray-300' />)}- <div className='absolute bottom-0 -mr-12 right-0 flex-col mb-6 hidden group-hover:flex items-end'>- <span className='relative w-60 z-10 p-2 text-xs leading-none text-white whitespace-no-wrap bg-gray-700 shadow-lg rounded-md'>+ <div className='absolute bottom-0 flex-col mb-6 hidden group-hover:flex items-center'>+ <span className='opacity-95 relative w-60 z-10 p-2 text-xs leading-none text-white whitespace-no-wrap bg-gray-700 shadow-lg rounded-md'>{text}</span>- <div className='w-3 h-3 -mt-2 rotate-45 bg-gray-700 mr-[52px]' />+ <div className='w-3 h-3 -mt-2 rotate-45 bg-gray-700 opacity-95' /></div></div>)