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!

limit dashboard in width to match header

Blue Mouse390ffb6fa7b0
diff --git a/web/app/pages/Captcha/View/ViewCaptcha.tsx b/web/app/pages/Captcha/View/ViewCaptcha.tsx
index 679448f04..eee53e0b5 100644
--- a/web/app/pages/Captcha/View/ViewCaptcha.tsx
+++ b/web/app/pages/Captcha/View/ViewCaptcha.tsx
@@ -410,10 +410,7 @@ const ViewCaptcha = () => {
<>
<EventsRunningOutBanner />
<div ref={ref} className='bg-gray-50 dark:bg-slate-900'>
- <div
- className='min-h-min-footer mx-auto w-full max-w-[1584px] px-2 py-6 sm:px-4 lg:px-8'
- ref={dashboardRef}
- >
+ <div className='min-h-min-footer mx-auto w-full max-w-7xl px-4 py-6 sm:px-6 lg:px-8' ref={dashboardRef}>
<div className='mt-2 flex flex-col items-center justify-between lg:flex-row lg:items-start'>
<h2 className='text-xl font-bold break-words break-all text-gray-900 dark:text-gray-50'>
{project.name}
diff --git a/web/app/pages/Project/View/ViewProject.tsx b/web/app/pages/Project/View/ViewProject.tsx
index a84e4526c..1ea98afd4 100644
--- a/web/app/pages/Project/View/ViewProject.tsx
+++ b/web/app/pages/Project/View/ViewProject.tsx
@@ -2828,7 +2828,7 @@ const ViewProject = () => {
{!isEmbedded ? <Header /> : null}
<div
className={cx(
- 'mx-auto flex w-full max-w-[1584px] flex-col bg-gray-50 px-2 py-6 sm:px-4 lg:px-8 dark:bg-slate-900',
+ 'mx-auto flex w-full max-w-7xl flex-col bg-gray-50 px-4 py-6 sm:px-6 lg:px-8 dark:bg-slate-900',
{
'min-h-min-footer': !isEmbedded,
'min-h-[100vh]': isEmbedded,
@@ -2852,7 +2852,7 @@ const ViewProject = () => {
{!isEmbedded ? <Header /> : null}
<div
className={cx(
- 'mx-auto flex w-full max-w-[1584px] flex-col bg-gray-50 px-2 py-6 sm:px-4 lg:px-8 dark:bg-slate-900',
+ 'mx-auto flex w-full max-w-7xl flex-col bg-gray-50 px-4 py-6 sm:px-6 lg:px-8 dark:bg-slate-900',
{
'min-h-min-footer': !isEmbedded,
'min-h-[100vh]': isEmbedded,
@@ -2880,7 +2880,7 @@ const ViewProject = () => {
{!isEmbedded ? <Header /> : null}
<div
className={cx(
- 'mx-auto flex w-full max-w-[1584px] flex-col bg-gray-50 px-2 py-6 sm:px-4 lg:px-8 dark:bg-slate-900',
+ 'mx-auto flex w-full max-w-7xl flex-col bg-gray-50 px-4 py-6 sm:px-6 lg:px-8 dark:bg-slate-900',
{
'min-h-min-footer': !isEmbedded,
'min-h-[100vh]': isEmbedded,
@@ -2937,7 +2937,7 @@ const ViewProject = () => {
})}
>
<div
- className={cx('mx-auto flex w-full max-w-[1584px] flex-col px-2 py-6 sm:px-4 lg:px-8', {
+ className={cx('mx-auto flex w-full max-w-7xl flex-col px-4 py-6 sm:px-6 lg:px-8', {
'min-h-min-footer': !isEmbedded,
'min-h-[100vh]': isEmbedded,
})}