π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[photos][web] Use consistent small dialog search field
AswinAsok83d99e2fe5b7
diff --git a/web/apps/photos/src/components/CollectionDialog/Primitives.tsx b/web/apps/photos/src/components/CollectionDialog/Primitives.tsxindex 33f22c3bfd..264c42ce93 100644--- a/web/apps/photos/src/components/CollectionDialog/Primitives.tsx+++ b/web/apps/photos/src/components/CollectionDialog/Primitives.tsx@@ -8,15 +8,9 @@ import React, { useRef } from "react";export const CollectionDialogSearchField: React.FC<{placeholder?: string;- size?: "small" | "medium";value: string;onChange: (value: string) => void;-}> = ({- value,- onChange,- placeholder = t("albums_search_hint"),- size = "small",-}) => {+}> = ({ value, onChange, placeholder = t("albums_search_hint") }) => {const inputRef = useRef<HTMLInputElement>(null);const handleClear = () => {@@ -25,11 +19,8 @@ export const CollectionDialogSearchField: React.FC<{};return (- <Stack- direction="row"- sx={[searchFieldSx, size == "medium" ? { height: 52, gap: 1 } : {}]}- >- <Stack sx={[searchIconSx, size == "medium" ? { p: 1 } : {}]}>+ <Stack direction="row" sx={searchFieldSx}>+ <Stack sx={searchIconSx}><HugeiconsIconicon={Search01Icon}size={18}diff --git a/web/apps/photos/src/components/gallery/PeopleHeader.tsx b/web/apps/photos/src/components/gallery/PeopleHeader.tsxindex ecc2a410ec..c69e0b019e 100644--- a/web/apps/photos/src/components/gallery/PeopleHeader.tsx+++ b/web/apps/photos/src/components/gallery/PeopleHeader.tsx@@ -483,7 +483,6 @@ const AddPersonDialog: React.FC<AddPersonDialogProps> = ({</IconButton></Stack><CollectionDialogSearchField- size="medium"placeholder={`${t("people_search_hint")}...`}value={searchTerm}onChange={setSearchTerm}