⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
fix(web): keep the full-page top bar visible while scrolling (#205)
Croff43d9cfe93136
diff --git a/apps/web/src/components/common/page/FullPageView.tsx b/apps/web/src/components/common/page/FullPageView.tsxindex 0ea86a3e..ef8bd883 100644--- a/apps/web/src/components/common/page/FullPageView.tsx+++ b/apps/web/src/components/common/page/FullPageView.tsx@@ -30,7 +30,7 @@ export default function FullPageView({const t = useTranslations('common');return (<div className="min-h-svh bg-background">- <header className="flex h-12 items-center gap-2 border-b px-4">+ <header className="sticky top-0 z-20 flex h-12 items-center gap-2 border-b bg-background px-4"><Button asChild variant="ghost" size="icon" className="size-8" title={t('back')}><Link href="/"><ArrowLeft />diff --git a/apps/web/src/features/account/components/preferences/AccountPreferencesNav.tsx b/apps/web/src/features/account/components/preferences/AccountPreferencesNav.tsxindex aae2d9ed..c6e719f0 100644--- a/apps/web/src/features/account/components/preferences/AccountPreferencesNav.tsx+++ b/apps/web/src/features/account/components/preferences/AccountPreferencesNav.tsx@@ -39,9 +39,7 @@ export default function AccountPreferencesNav() {activeId={activeId}label={t('label')}onJump={jump}- // The page scrolls under a static top bar, so the rail keeps a margin of its- // own once it pins.- className="top-8"+ className="top-16"/>);}diff --git a/apps/web/src/features/account/components/preferences/AccountPreferencesSection.tsx b/apps/web/src/features/account/components/preferences/AccountPreferencesSection.tsxindex 373f1cc1..613ffff4 100644--- a/apps/web/src/features/account/components/preferences/AccountPreferencesSection.tsx+++ b/apps/web/src/features/account/components/preferences/AccountPreferencesSection.tsx@@ -17,7 +17,7 @@ export default function AccountPreferencesSection({children: ReactNode;}) {return (- <section id={id} className="scroll-mt-4 border-t py-8 first:border-t-0 first:pt-0">+ <section id={id} className="scroll-mt-16 border-t py-8 first:border-t-0 first:pt-0"><div className="mb-1"><h2 className="text-sm font-medium">{title}</h2>{description && <p className="mt-0.5 text-xs text-muted-foreground">{description}</p>}