[web] Search: Fix loading indicator position (#3217)

Fix for layout issue introduced in last PR -
https://github.com/ente-io/ente/pull/3216
This commit is contained in:
Manav Rathi
2024-09-10 20:25:54 +05:30
committed by GitHub

View File

@@ -339,7 +339,14 @@ const SelectStyles: StylesConfig<SearchOption, false> = {
const Control = ({ children, ...props }: ControlProps<SearchOption, false>) => (
<SelectComponents.Control {...props}>
<Stack direction="row" sx={{ alignItems: "center" }}>
<Stack
direction="row"
sx={{
alignItems: "center",
// Fill the entire control (the control uses display flex).
flex: 1,
}}
>
<Box
sx={{
display: "inline-flex",