about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-09-27 09:55:47 -0700
committerGitHub <noreply@github.com>2024-09-27 09:55:47 -0700
commitbcd096b85aee45c38de7cfbcf1115b0a544589ae (patch)
tree7d2b17b34874d64b8b082c3b57ddc519663460b3 /src
parentd8f72c1ee10632860de9a67ce9c84831463ad07c (diff)
downloadvoidsky-bcd096b85aee45c38de7cfbcf1115b0a544589ae.tar.zst
Fix alignment of cancel button on search (#5520)
Diffstat (limited to 'src')
-rw-r--r--src/view/screens/Search/Search.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/screens/Search/Search.tsx b/src/view/screens/Search/Search.tsx
index de46d18c0..583999f87 100644
--- a/src/view/screens/Search/Search.tsx
+++ b/src/view/screens/Search/Search.tsx
@@ -845,14 +845,14 @@ export function SearchScreen(
           a.gap_sm,
           t.atoms.bg,
           web({
-            height: headerHeight,
+            height: headerHeight + a.mb_sm.marginBottom,
             position: 'sticky',
             top: 0,
             zIndex: 1,
           }),
         ]}
         sideBorders={gtMobile}>
-        <View style={[a.flex_row, a.gap_sm]}>
+        <View style={[a.flex_row, a.gap_sm, a.mb_sm]}>
           {!gtMobile && (
             <Button
               testID="viewHeaderBackOrMenuBtn"
@@ -985,7 +985,7 @@ let SearchInputBox = ({
   const t = useThemeNew()
 
   return (
-    <View style={[a.flex_1, a.mb_sm]}>
+    <View style={[a.flex_1]}>
       <TextField.Root>
         <TextField.Icon icon={MagnifyingGlass} />
         <TextField.Input