about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-09-30 16:04:04 -0500
committerGitHub <noreply@github.com>2024-09-30 16:04:04 -0500
commit26c09ff1072c883afc08a0b6a72a68bd7d6eb997 (patch)
treeb4e67e2f83765055040ccd8a2d7b0ea78662b5cc
parent669cdf222cf13ad07f3ec48fd4f32b64fa52ab88 (diff)
downloadvoidsky-26c09ff1072c883afc08a0b6a72a68bd7d6eb997.tar.zst
Fix sticky offset, gear color (#5537)
-rw-r--r--src/view/screens/Search/Search.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/view/screens/Search/Search.tsx b/src/view/screens/Search/Search.tsx
index 66c354b3b..77ef448ed 100644
--- a/src/view/screens/Search/Search.tsx
+++ b/src/view/screens/Search/Search.tsx
@@ -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(() => {
@@ -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"
@@ -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>