fix: remove -mb-6 from sticky bar — prevents jump at scroll bottom

This commit is contained in:
Usman Baig
2026-03-25 21:12:45 +01:00
parent 8ec9edb126
commit 570dda7bd2
4 changed files with 4 additions and 4 deletions

View File

@@ -225,7 +225,7 @@ export default function SiteBotSpamTab({ siteId, onDirtyChange, hasPendingAction
{/* Sticky save bar */}
{isDirty && (
<div className={`sticky bottom-0 -mx-6 -mb-6 px-6 py-3 backdrop-blur-md border-t flex items-center justify-between transition-colors ${
<div className={`sticky bottom-0 -mx-6 px-6 py-3 backdrop-blur-md border-t flex items-center justify-between transition-colors ${
hasPendingAction
? 'bg-rose-950/95 border-rose-800/50'
: 'bg-neutral-950/90 border-neutral-800'

View File

@@ -179,7 +179,7 @@ export default function SiteGeneralTab({ siteId, onDirtyChange, hasPendingAction
{/* Sticky save bar */}
{isDirty && (
<div className={`sticky bottom-0 -mx-6 -mb-6 px-6 py-3 backdrop-blur-md border-t flex items-center justify-between transition-colors ${
<div className={`sticky bottom-0 -mx-6 px-6 py-3 backdrop-blur-md border-t flex items-center justify-between transition-colors ${
hasPendingAction
? 'bg-rose-950/95 border-rose-800/50'
: 'bg-neutral-950/90 border-neutral-800'

View File

@@ -252,7 +252,7 @@ export default function SitePrivacyTab({ siteId, onDirtyChange, hasPendingAction
{/* Sticky save bar — only visible when dirty */}
{isDirty && (
<div className={`sticky bottom-0 -mx-6 -mb-6 px-6 py-3 backdrop-blur-md border-t flex items-center justify-between transition-colors ${
<div className={`sticky bottom-0 -mx-6 px-6 py-3 backdrop-blur-md border-t flex items-center justify-between transition-colors ${
hasPendingAction
? 'bg-rose-950/95 border-rose-800/50'
: 'bg-neutral-950/90 border-neutral-800'

View File

@@ -148,7 +148,7 @@ export default function SiteVisibilityTab({ siteId, onDirtyChange, hasPendingAct
{/* Sticky save bar */}
{isDirty && (
<div className={`sticky bottom-0 -mx-6 -mb-6 px-6 py-3 backdrop-blur-md border-t flex items-center justify-between transition-colors ${
<div className={`sticky bottom-0 -mx-6 px-6 py-3 backdrop-blur-md border-t flex items-center justify-between transition-colors ${
hasPendingAction
? 'bg-rose-950/95 border-rose-800/50'
: 'bg-neutral-950/90 border-neutral-800'