📈 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
some improvements
Blue Mousecd7907185368
diff --git a/src/pages/Project/View/ViewProject.jsx b/src/pages/Project/View/ViewProject.jsxindex cdc9d32ba..94fce726f 100644--- a/src/pages/Project/View/ViewProject.jsx+++ b/src/pages/Project/View/ViewProject.jsx@@ -125,7 +125,7 @@ const ViewProject = ({return tab}- return projectTab || 'traffic'+ return projectTab || PROJECT_TABS.traffic})const [chartDataPerf, setChartDataPerf] = useState({})@@ -135,17 +135,17 @@ const ViewProject = ({const tabs = useMemo(() => {return [{- id: 'traffic',+ id: PROJECT_TABS.traffic,label: t('dashboard.traffic'),icon: ChartBarIcon,},{- id: 'performance',+ id: PROJECT_TABS.performance,label: t('dashboard.performance'),icon: BoltIcon,},{- id: 'alerts',+ id: PROJECT_TABS.alerts,label: t('dashboard.alerts'),icon: BellIcon,},@@ -1171,8 +1171,8 @@ const ViewProject = ({className={cx('bg-gray-50 dark:bg-gray-800 py-6 px-4 sm:px-6 lg:px-8',{- 'min-h-min-footer': authenticated,- 'min-h-min-footer-ad': !authenticated,+ 'min-h-min-footer': authenticated || activeTab === PROJECT_TABS.alerts,+ 'min-h-min-footer-ad': !authenticated && activeTab !== PROJECT_TABS.alerts,},)}ref={dashboardRef}@@ -1620,7 +1620,7 @@ const ViewProject = ({</div>)}</div>- {!authenticated && (+ {!authenticated && activeTab !== PROJECT_TABS.alerts && (<div className='bg-indigo-600'><div className='w-11/12 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8 lg:flex lg:items-center lg:justify-between'><h2 className='text-3xl sm:text-4xl font-bold tracking-tight text-gray-900'>diff --git a/tailwind.config.js b/tailwind.config.jsindex aa4b54aa2..07b2d18a5 100644--- a/tailwind.config.js+++ b/tailwind.config.js@@ -50,7 +50,7 @@ module.exports = {minHeight: {'72': '18rem','page': 'calc(100vh - 74px)', // header height -> 74px- 'min-footer': 'calc(100vh - 162px)', // 74px + 88px footer height+ 'min-footer': 'calc(100vh - 161px)', // 74px + 88px footer height'min-footer-ad': 'calc(100vh - 265px)', // 74px + 88px footer height},},