Fix alignment of cancel button on search (#5520)

This commit is contained in:
Hailey
2024-09-27 09:55:47 -07:00
committed by GitHub
parent d8f72c1ee1
commit bcd096b85a
+3 -3
View File
@@ -845,14 +845,14 @@ export function SearchScreen(
a.gap_sm, a.gap_sm,
t.atoms.bg, t.atoms.bg,
web({ web({
height: headerHeight, height: headerHeight + a.mb_sm.marginBottom,
position: 'sticky', position: 'sticky',
top: 0, top: 0,
zIndex: 1, zIndex: 1,
}), }),
]} ]}
sideBorders={gtMobile}> sideBorders={gtMobile}>
<View style={[a.flex_row, a.gap_sm]}> <View style={[a.flex_row, a.gap_sm, a.mb_sm]}>
{!gtMobile && ( {!gtMobile && (
<Button <Button
testID="viewHeaderBackOrMenuBtn" testID="viewHeaderBackOrMenuBtn"
@@ -985,7 +985,7 @@ let SearchInputBox = ({
const t = useThemeNew() const t = useThemeNew()
return ( return (
<View style={[a.flex_1, a.mb_sm]}> <View style={[a.flex_1]}>
<TextField.Root> <TextField.Root>
<TextField.Icon icon={MagnifyingGlass} /> <TextField.Icon icon={MagnifyingGlass} />
<TextField.Input <TextField.Input