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!

add: container for viewProjects & captchaProjects

kruzhambus01a6efa1e15a
diff --git a/src/pages/Captcha/View/ViewCaptcha.tsx b/src/pages/Captcha/View/ViewCaptcha.tsx
index 044985922..b1dad9c8f 100644
--- a/src/pages/Captcha/View/ViewCaptcha.tsx
+++ b/src/pages/Captcha/View/ViewCaptcha.tsx
@@ -642,10 +642,10 @@ const ViewProject = ({
return (
<Title title={name}>
<EventsRunningOutBanner />
- <div ref={ref}>
+ <div ref={ref} className=' bg-gray-50 dark:bg-gray-800'>
<div
className={cx(
- 'bg-gray-50 dark:bg-gray-800 py-6 px-2 sm:px-4 lg:px-8',
+ 'max-w-[1440px] w-full mx-auto py-6 px-2 sm:px-4 lg:px-8',
{
'min-h-min-footer': authenticated,
'min-h-min-footer-ad': !authenticated,
diff --git a/src/pages/Project/View/ViewProject.tsx b/src/pages/Project/View/ViewProject.tsx
index e0f7068a0..b026d7d6b 100644
--- a/src/pages/Project/View/ViewProject.tsx
+++ b/src/pages/Project/View/ViewProject.tsx
@@ -1412,10 +1412,10 @@ const ViewProject = ({
return (
<Title title={name}>
<EventsRunningOutBanner />
- <div ref={ref}>
+ <div ref={ref} className='bg-gray-50 dark:bg-gray-800'>
<div
className={cx(
- 'bg-gray-50 dark:bg-gray-800 py-6 px-2 sm:px-4 lg:px-8',
+ 'max-w-[1440px] w-full mx-auto py-6 px-2 sm:px-4 lg:px-8',
{
'min-h-min-footer': authenticated || activeTab === PROJECT_TABS.alerts,
'min-h-min-footer-ad': !authenticated && activeTab !== PROJECT_TABS.alerts,