📈 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
nicer close button
Blue Mousea85715d79c5e
diff --git a/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx b/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsxindex 0b2bbcb25..7b23b9809 100644--- a/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx+++ b/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx@@ -69,7 +69,17 @@ const LiveVisitorsDropdown = () => {}`}><div className='flex w-full flex-col p-2'>- <p className='text-sm font-semibold text-gray-900 dark:text-gray-50'>{t('dashboard.liveVisitors')}</p>+ <div className='flex items-center justify-between'>+ <p className='text-sm font-semibold text-gray-900 dark:text-gray-50'>{t('dashboard.liveVisitors')}</p>++ <button+ className='-m-1 rounded-md p-1 hover:bg-gray-200 dark:hover:bg-slate-700'+ type='button'+ onClick={() => setIsDropdownVisible(false)}+ >+ <XMarkIcon className='h-5 w-5 cursor-pointer rounded-md text-gray-900 dark:text-gray-50' />+ </button>+ </div>{isLoading ? (<p className='mt-2 flex items-center text-sm text-gray-900 dark:text-gray-50'><Spin className='ml-0' />@@ -112,10 +122,6 @@ const LiveVisitorsDropdown = () => {</div>)}</div>- <XMarkIcon- className='absolute top-2 right-2 h-5 w-5 cursor-pointer text-gray-900 dark:text-gray-50'- onClick={() => setIsDropdownVisible(false)}- /></div>) : null}</div>