Skip to content

armgit / ente

Public Imported from GitHub
0

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

Inline (in prep for further refactoring)

Manav Rathi0fe35ac161f1
diff --git a/web/apps/photos/src/components/SearchBar.tsx b/web/apps/photos/src/components/SearchBar.tsx
index b6d9638455..7f47809612 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 {
- CenteredFlex,
FlexWrapper,
FreeFlowText,
Row,
@@ -281,7 +280,11 @@ const SearchInput: React.FC<SearchInputProps> = (props) => {
);
};
-const SearchInputWrapper = styled(CenteredFlex)`
+const SearchInputWrapper = styled(Box)`
+ display: flex;
+ width: 100%;
+ align-items: center;
+ justify-content: center;
background: ${({ theme }) => theme.colors.background.base};
max-width: 484px;
margin: auto;