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!

removed min-h-min-footer-ad

Blue Mouse93871e1671e0
diff --git a/app/pages/Captcha/View/ViewCaptcha.tsx b/app/pages/Captcha/View/ViewCaptcha.tsx
index 3ad25cfe8..76704a720 100644
--- a/app/pages/Captcha/View/ViewCaptcha.tsx
+++ b/app/pages/Captcha/View/ViewCaptcha.tsx
@@ -633,13 +633,7 @@ const ViewProject = ({
<EventsRunningOutBanner />
<div ref={ref} className='bg-gray-50 dark:bg-slate-900'>
<div
- className={cx(
- 'max-w-[1584px] 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,
- },
- )}
+ className='max-w-[1584px] w-full mx-auto py-6 px-2 sm:px-4 lg:px-8 min-h-min-footer'
ref={dashboardRef}
>
<div className='flex flex-col md:flex-row items-center md:items-start justify-between mt-2'>
diff --git a/app/pages/Project/View/ViewProject.tsx b/app/pages/Project/View/ViewProject.tsx
index 57aea18c5..a0cfa597a 100644
--- a/app/pages/Project/View/ViewProject.tsx
+++ b/app/pages/Project/View/ViewProject.tsx
@@ -2100,8 +2100,7 @@ const ViewProject = ({
className={cx(
'max-w-[1584px] w-full mx-auto py-6 px-2 sm:px-4 lg:px-8',
{
- 'min-h-min-footer': (authenticated || activeTab === PROJECT_TABS.alerts) && !embedded,
- 'min-h-min-footer-ad': (!authenticated && activeTab !== PROJECT_TABS.alerts) && !embedded,
+ 'min-h-min-footer': !embedded,
'min-h-[100vh]': embedded,
},
)}
diff --git a/app/routes/blog.tsx b/app/routes/blog.tsx
index c20852eb7..7476165a5 100644
--- a/app/routes/blog.tsx
+++ b/app/routes/blog.tsx
@@ -10,7 +10,7 @@ export default function Posts() {
if (_filter(posts, post => !post.hidden).length === 0) {
return (
- <div className='flex justify-center items-center min-h-min-footer-ad'>
+ <div className='flex justify-center items-center min-h-min-footer'>
<h1 className='text-3xl font-bold text-slate-900 dark:text-slate-200'>No posts found</h1>
</div>
)
diff --git a/tailwind.config.ts b/tailwind.config.ts
index 3a10a3c5c..305c576c6 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -52,7 +52,6 @@ export default {
72: '18rem',
page: 'calc(100vh - 74px)', // header height -> 74px
'min-footer': 'calc(100vh - 148px)',
- 'min-footer-ad': 'calc(100vh - 265px)',
},
},
variants: {