Fix profile theme coverage: full-width background layer, ensure text colors inherit through scoped theme

This commit is contained in:
Mary Kate Fain
2026-02-25 18:10:24 -06:00
parent 1828ffb69d
commit d31e9e9e25
+6 -1
View File
@@ -116,7 +116,12 @@ function MainLayoutInner() {
function ScopedThemeColumns({ tokens, children }: { tokens?: import('@/themes').ThemeTokens; children: React.ReactNode }) {
if (!tokens) return <>{children}</>;
return (
<ScopedTheme tokens={tokens} className="contents bg-background">
<ScopedTheme tokens={tokens} className="contents">
{/* Full-width background layer that extends beyond the columns */}
<div
className="fixed inset-0 sidebar:left-[280px] -z-10 bg-background pointer-events-none"
aria-hidden
/>
{children}
</ScopedTheme>
);