Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix sizing on mobile screens and long search texts

Manav Rathi0431493736c2
diff --git a/web/packages/new/photos/components/SearchBar.tsx b/web/packages/new/photos/components/SearchBar.tsx
index d2b9f4ac03..d163fb5536 100644
--- a/web/packages/new/photos/components/SearchBar.tsx
+++ b/web/packages/new/photos/components/SearchBar.tsx
@@ -246,7 +246,11 @@ const createSelectStyles = ({
cursor: "text",
},
}),
- input: (styles) => ({ ...styles, color: colors.text.base }),
+ input: (styles) => ({
+ ...styles,
+ color: colors.text.base,
+ overflowX: "hidden",
+ }),
menu: (style) => ({
...style,
// Suppress the default margin at the top.
@@ -271,6 +275,7 @@ const createSelectStyles = ({
...style,
color: colors.text.muted,
whiteSpace: "nowrap",
+ overflowX: "hidden",
}),
// Hide some things we don't need.
dropdownIndicator: (style) => ({ ...style, display: "none" }),