ui(admin): lower table loader height

fixes tables growing while the page is loading, this is very noticable
when latency to the API is low, which means the loader is only visible
for 1/30th to 1/20th of a second.
This commit is contained in:
Matthew Penner 2021-07-22 11:21:31 -06:00
parent 361596e051
commit be011906e6

View file

@ -190,7 +190,7 @@ export function Pagination<T> ({ data, onPageSelect, children }: Props<T>) {
export const Loading = () => {
return (
<div css={tw`w-full flex flex-col items-center justify-center`} style={{ height: '24rem' }}>
<div css={tw`w-full flex flex-col items-center justify-center`} style={{ height: '3rem' }}>
<Spinner size={'base'}/>
</div>
);