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!

fix: style chart

kruzhambus391bf7a5f172
diff --git a/public/locales/en.json b/public/locales/en.json
index f667cda91..a9dc677e7 100644
--- a/public/locales/en.json
+++ b/public/locales/en.json
@@ -477,7 +477,8 @@
"domLoad": "DOM Content Load",
"pageLoad": "Page load time",
"render": "Browser render",
- "response": "Response Time"
+ "response": "Response Time",
+ "customEvents": "Custom events"
},
"alert": {
"create": "Create an alert",
diff --git a/src/pages/Project/View/ViewProject.tsx b/src/pages/Project/View/ViewProject.tsx
index a713a05f0..fe7082764 100644
--- a/src/pages/Project/View/ViewProject.tsx
+++ b/src/pages/Project/View/ViewProject.tsx
@@ -1582,7 +1582,10 @@ const ViewProject = ({
'mt-14': project.public || (isSharedProject && project?.role === roleAdmin.role) || project.isOwner,
})}
/>
- <div className='relative'>
+ <div className={cx('relative', {
+ hidden: checkIfAllMetricsAreDisabled,
+ })}
+ >
<div className={cx('absolute right-0 z-10 -top-2 max-sm:top-6', {
'right-[90px]': activeChartMetrics[CHART_METRICS_MAPPING.sessionDuration],
'right-[60px]': activeChartMetrics[CHART_METRICS_MAPPING.bounce],
@@ -1775,7 +1778,7 @@ const ViewProject = ({
</div>
)}
{activeTab === PROJECT_TABS.performance && (
- <div className={cx('pt-4 md:pt-0', { hidden: isPanelsDataEmptyPerf || analyticsLoading })}>
+ <div className={cx('pt-8 md:pt-4', { hidden: isPanelsDataEmptyPerf || analyticsLoading })}>
<div
className={cx('h-80', {
hidden: checkIfAllMetricsAreDisabled,