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 = { ...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> = (props) => ( 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)}