Skip to content

📈 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!

visitors dropdown: overflow-scroll -> overflow-auto

Blue Mouse65f1e89f0c32
diff --git a/src/pages/Captcha/View/components/LiveVisitorsDropdown.jsx b/src/pages/Captcha/View/components/LiveVisitorsDropdown.jsx
index dbe4269a0..bdcdd240b 100644
--- a/src/pages/Captcha/View/components/LiveVisitorsDropdown.jsx
+++ b/src/pages/Captcha/View/components/LiveVisitorsDropdown.jsx
@@ -44,7 +44,7 @@ const LiveVisitorsDropdown = ({ live, projectId }) => {
{show ? <ChevronUpIcon className='inline w-5 h-5' /> : <ChevronDownIcon className='inline w-5 h-5' />}
</p>
{show && (
- <div className='absolute z-10 mt-2 right-0 top-20 text-gray-900 bg-white border border-gray-200 rounded-md shadow-lg dark:bg-gray-800 dark:border-gray-700 min-w-[250px] max-h-[200px] overflow-scroll'>
+ <div className='absolute z-10 mt-2 right-0 top-20 text-gray-900 bg-white border border-gray-200 rounded-md shadow-lg dark:bg-gray-800 dark:border-gray-700 min-w-[250px] max-h-[200px] overflow-auto'>
<div className='flex flex-col w-full p-2'>
<p className='text-sm font-semibold text-gray-900 dark:text-gray-50'>
{t('dashboard.liveVisitors')}
diff --git a/src/pages/Project/View/components/LiveVisitorsDropdown.jsx b/src/pages/Project/View/components/LiveVisitorsDropdown.jsx
index dbe4269a0..bdcdd240b 100644
--- a/src/pages/Project/View/components/LiveVisitorsDropdown.jsx
+++ b/src/pages/Project/View/components/LiveVisitorsDropdown.jsx
@@ -44,7 +44,7 @@ const LiveVisitorsDropdown = ({ live, projectId }) => {
{show ? <ChevronUpIcon className='inline w-5 h-5' /> : <ChevronDownIcon className='inline w-5 h-5' />}
</p>
{show && (
- <div className='absolute z-10 mt-2 right-0 top-20 text-gray-900 bg-white border border-gray-200 rounded-md shadow-lg dark:bg-gray-800 dark:border-gray-700 min-w-[250px] max-h-[200px] overflow-scroll'>
+ <div className='absolute z-10 mt-2 right-0 top-20 text-gray-900 bg-white border border-gray-200 rounded-md shadow-lg dark:bg-gray-800 dark:border-gray-700 min-w-[250px] max-h-[200px] overflow-auto'>
<div className='flex flex-col w-full p-2'>
<p className='text-sm font-semibold text-gray-900 dark:text-gray-50'>
{t('dashboard.liveVisitors')}