Fix alignment of cancel button on search (#5520)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user