mirror of
https://github.com/hexastack/hexabot
synced 2025-06-10 08:26:04 +00:00
feat: update loading indicator position in Selectable component
This commit is contained in:
parent
7b858588f0
commit
7216102d33
@ -208,23 +208,20 @@ const Selectable: FC<SelectableProps> = ({
|
||||
value={text}
|
||||
onChange={(e) => handleTextChange(e.target.value)}
|
||||
placeholder={placeholder}
|
||||
/>
|
||||
{
|
||||
loading && (
|
||||
endAdornment={
|
||||
true ? (
|
||||
<CircularProgress
|
||||
size={20}
|
||||
thickness={5}
|
||||
style={
|
||||
{
|
||||
style={{
|
||||
position: "absolute",
|
||||
top: "30%",
|
||||
right: "5px",
|
||||
transform: "translateY(-30%)"
|
||||
}
|
||||
right: 0,
|
||||
top: "20%",
|
||||
transform: "translateY(-20%)",
|
||||
}}
|
||||
/>
|
||||
) : null
|
||||
}
|
||||
/>
|
||||
)
|
||||
}
|
||||
</SelectableBox>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user