Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

MUI builtin

Manav Rathi8365ca000cf8
diff --git a/web/apps/photos/src/components/SearchBar.tsx b/web/apps/photos/src/components/SearchBar.tsx
index f142607db3..3de544e5d4 100644
--- a/web/apps/photos/src/components/SearchBar.tsx
+++ b/web/apps/photos/src/components/SearchBar.tsx
@@ -19,7 +19,6 @@ import { labelForSuggestionType } from "@/new/photos/services/search/ui";
import type { LocationTag } from "@/new/photos/services/user-entity";
import { EnteFile } from "@/new/photos/types/file";
import {
- FlexWrapper,
FreeFlowText,
Row,
SpaceBetweenFlex,
@@ -353,7 +352,7 @@ const SelectStyles: StylesConfig<SearchOption, false> = {
const CustomControl: React.FC<ControlProps<SearchOption, false>> = (props) => (
<SelectComponents.Control {...props}>
- <FlexWrapper>
+ <Stack direction="row" sx={{ alignItems: "center" }}>
<Box
style={{ display: "inline-flex" }}
mr={1.5}
@@ -362,7 +361,7 @@ const CustomControl: React.FC<ControlProps<SearchOption, false>> = (props) => (
{iconForOptionType(props.getValue()[0]?.type)}
</Box>
{props.children}
- </FlexWrapper>
+ </Stack>
</SelectComponents.Control>
);