Skip to content

Commit

Permalink
Fix sticky offset, gear color (#5537)
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey authored Sep 30, 2024
1 parent 669cdf2 commit 26c09ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/view/screens/Search/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ export function SearchScreen(
* Arbitrary sizing, so guess and check, used for sticky header alignment and
* sizing.
*/
const headerHeight = 56 + (showFilters ? 40 : 0)
const headerHeight = 64 + (showFilters ? 40 : 0)

useFocusEffect(
useNonReactiveCallback(() => {
Expand Down Expand Up @@ -838,18 +838,18 @@ export function SearchScreen(
<CenteredView
style={[
a.p_md,
a.pb_0,
a.pb_sm,
a.gap_sm,
t.atoms.bg,
web({
height: headerHeight + a.mb_sm.marginBottom,
height: headerHeight,
position: 'sticky',
top: 0,
zIndex: 1,
}),
]}
sideBorders={gtMobile}>
<View style={[a.flex_row, a.gap_sm, a.mb_sm]}>
<View style={[a.flex_row, a.gap_sm]}>
{!gtMobile && (
<Button
testID="viewHeaderBackOrMenuBtn"
Expand Down Expand Up @@ -887,7 +887,7 @@ export function SearchScreen(
fill={
showFilters
? t.palette.primary_500
: t.atoms.text_contrast_low.color
: t.atoms.text_contrast_medium.color
}
/>
</Button>
Expand Down

0 comments on commit 26c09ff

Please sign in to comment.