diff --git a/client/src/index.css b/client/src/index.css index 4c7e6b9..4a58d2b 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -335,14 +335,22 @@ input[data-testid*="search"]::placeholder { filter: blur(0.5px); } -/* Sticky header */ +/* Fixed header */ .header-sticky { - position: sticky !important; + position: fixed !important; top: 0 !important; + left: 0 !important; + right: 0 !important; z-index: 100 !important; backdrop-filter: blur(8px); background: rgba(30, 20, 40, 0.85) !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1); + width: 100% !important; +} + +/* Add padding to body to account for fixed header */ +.has-fixed-header { + padding-top: 80px; } /* Test grid overlay */ diff --git a/client/src/pages/FolxStadlPage.tsx b/client/src/pages/FolxStadlPage.tsx index 071736a..a21dcd8 100644 --- a/client/src/pages/FolxStadlPage.tsx +++ b/client/src/pages/FolxStadlPage.tsx @@ -55,7 +55,7 @@ export default function FolxStadlPage() { } return ( -