Skip to content

Commit f2e4666

Browse files
authored
fix: offset search results title bar below sticky AppHeader (#398)
SearchResultsPage's title bar used the same sticky top-0 as AppHeader, so it ended up hidden behind the header while scrolling instead of sticking below it. Apply the same top-[49px] offset TopPageTitleBar already uses.
1 parent de4f1a1 commit f2e4666

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/src/app/features/search/components/SearchResultsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default function SearchResultsPage({
3333
const text = useText();
3434
return (
3535
<main className="mx-auto max-w-7xl px-4 py-12">
36-
<div className="sticky top-0 z-20 -mx-4 border-b border-zinc-200 bg-white/95 px-4 py-3 backdrop-blur">
36+
<div className="sticky top-[49px] z-20 -mx-4 border-b border-zinc-200 bg-white/95 px-4 py-3 backdrop-blur">
3737
<div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between">
3838
<div className="min-w-0">
3939
<div className="flex items-center gap-3">

0 commit comments

Comments
 (0)