Skip to content

armgit / ente

Public Imported from GitHub
0

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

Visual

Manav Rathi6dc552f01551
diff --git a/web/apps/photos/src/components/SearchBar.tsx b/web/apps/photos/src/components/SearchBar.tsx
index 3de544e5d4..e722465b0c 100644
--- a/web/apps/photos/src/components/SearchBar.tsx
+++ b/web/apps/photos/src/components/SearchBar.tsx
@@ -339,14 +339,11 @@ const SelectStyles: StylesConfig<SearchOption, false> = {
...style,
backgroundColor: "transparent",
color: "#d1d1d1",
- marginLeft: "36px",
}),
placeholder: (style) => ({
...style,
color: "rgba(255, 255, 255, 0.7)",
- wordSpacing: "2px",
whiteSpace: "nowrap",
- marginLeft: "40px",
}),
};
@@ -354,9 +351,13 @@ const CustomControl: React.FC<ControlProps<SearchOption, false>> = (props) => (
<SelectComponents.Control {...props}>
<Stack direction="row" sx={{ alignItems: "center" }}>
<Box
- style={{ display: "inline-flex" }}
- mr={1.5}
- color={(theme) => theme.colors.stroke.muted}
+ sx={{
+ display: "inline-flex",
+ // Match the default padding of the ValueContainer to make
+ // the icon look properly spaced and aligned.
+ pl: "8px",
+ color: (theme) => theme.colors.stroke.muted,
+ }}
>
{iconForOptionType(props.getValue()[0]?.type)}
</Box>