From 433da2f6c487dbb03bf171318fc9a2b114c0f1a5 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Fri, 13 Feb 2026 18:29:22 +0100 Subject: [PATCH] Fix sticky header background --- front/bun.lock | 2 +- front/src/ui/details/serie.tsx | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/front/bun.lock b/front/bun.lock index b5c00cc0..a85d45b0 100644 --- a/front/bun.lock +++ b/front/bun.lock @@ -442,7 +442,7 @@ "@jridgewell/trace-mapping": ["@jridgewell/trace-mapping@0.3.31", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="], - "@legendapp/list": ["@legendapp/list@github:zoriya/legend-list#7acb558", { "dependencies": { "use-sync-external-store": "^1.5.0" }, "peerDependencies": { "react": "*" } }, "zoriya-legend-list-7acb558"], + "@legendapp/list": ["@legendapp/list@github:zoriya/legend-list#d5d3344", { "dependencies": { "use-sync-external-store": "^1.5.0" }, "peerDependencies": { "react": "*" } }, "zoriya-legend-list-d5d3344"], "@material-symbols/svg-400": ["@material-symbols/svg-400@0.40.2", "", {}, "sha512-e2yEgZW/OveVT1sGaZW1kkRWTPVghjsJYWy+vIea3q08Fv2o7FCYv23PESMyr5D4AaAXdM5dKWkF1e6yIm4swA=="], diff --git a/front/src/ui/details/serie.tsx b/front/src/ui/details/serie.tsx index 8cf4079e..7ad63374 100644 --- a/front/src/ui/details/serie.tsx +++ b/front/src/ui/details/serie.tsx @@ -107,7 +107,13 @@ export const SerieDetails = () => { contentContainerStyle={{ paddingBottom: insets.bottom }} onScroll={scrollHandler} scrollEventThrottle={16} - stickyHeaderConfig={{ offset: headerHeight }} + stickyHeaderConfig={{ + offset: headerHeight, + backdropComponent: () => ( + // hr bottom margin is m-4 and layout gap is 2 but it's only applied on the web and idk why + + ), + }} /> );