Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(photos):center-search-empty-state

Aswin Asok67cb1a111b0f
diff --git a/web/apps/photos/src/components/SearchBar.tsx b/web/apps/photos/src/components/SearchBar.tsx
index 1532674abb..54d0d820c3 100644
--- a/web/apps/photos/src/components/SearchBar.tsx
+++ b/web/apps/photos/src/components/SearchBar.tsx
@@ -601,7 +601,13 @@ const createSelectStyles = (
},
}),
groupHeading: (style) => ({ ...style, margin: 0, padding: 0 }),
- noOptionsMessage: (style) => ({ ...style, padding: 0 }),
+ noOptionsMessage: (style) => ({
+ ...style,
+ padding: 0,
+ flex: 1,
+ display: "grid",
+ placeItems: "center",
+ }),
option: (style, { isFocused }) => ({
...style,
padding: 0,