mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
fix spinner position in VirtualMultiSelect
This commit is contained in:
@@ -258,11 +258,11 @@ export function VirtualMultiSelect<T>({
|
|||||||
tabIndex={disabled ? -1 : 0}
|
tabIndex={disabled ? -1 : 0}
|
||||||
>
|
>
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<Center h="100%">
|
<Center h="100%" w="100%">
|
||||||
<Spinner />
|
<Spinner container />
|
||||||
</Center>
|
</Center>
|
||||||
) : stableOptions.length === 0 ? (
|
) : stableOptions.length === 0 ? (
|
||||||
<Center h="100%">
|
<Center h="100%" w="100%">
|
||||||
<Text isMuted isNoSelect size="sm">
|
<Text isMuted isNoSelect size="sm">
|
||||||
{t('common.noResultsFromQuery', { postProcess: 'sentenceCase' })}
|
{t('common.noResultsFromQuery', { postProcess: 'sentenceCase' })}
|
||||||
</Text>
|
</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user