π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Box
Manav Rathid3cf65f1c08a
diff --git a/web/apps/photos/src/components/SearchBar.tsx b/web/apps/photos/src/components/SearchBar.tsxindex 1e42acfe98..5296f6ab91 100644--- a/web/apps/photos/src/components/SearchBar.tsx+++ b/web/apps/photos/src/components/SearchBar.tsx@@ -42,10 +42,6 @@ import {} from "@mui/material";import CollectionCard from "components/Collections/CollectionCard";import { ResultPreviewTile } from "components/Collections/styledComponents";-import {- IMAGE_CONTAINER_MAX_WIDTH,- MIN_COLUMNS,-} from "components/PhotoList/constants";import { t } from "i18next";import memoize from "memoize-one";import pDebounce from "p-debounce";@@ -85,7 +81,7 @@ export const SearchBar: React.FC<SearchBarProps> = ({const isMobileWidth = useIsMobileWidth();return (- <SearchBarWrapper>+ <Box sx={{ flex: 1, px: ["4px", "24px"] }}>{isMobileWidth && !isInSearchMode ? (<MobileSearchArea onSearch={showSearchInput} />) : (@@ -95,17 +91,10 @@ export const SearchBar: React.FC<SearchBarProps> = ({setIsOpen={setIsInSearchMode}/>)}- </SearchBarWrapper>+ </Box>);};-const SearchBarWrapper = styled(FlexWrapper)`- padding: 0 24px;- @media (max-width: ${IMAGE_CONTAINER_MAX_WIDTH * MIN_COLUMNS}px) {- padding: 0 4px;- }-`;-interface SearchInputProps {isOpen: boolean;updateSearch: UpdateSearch;