Context menu loading fixes

- Padding to center loader
- Correcting missing import for `Loader`
This commit is contained in:
James Barnsley
2023-04-01 16:21:23 +13:00
parent d6db80ef50
commit d2ced56690
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@ import { useDispatch } from 'react-redux';
import { compact } from 'lodash';
import { I18n } from '../../locale';
import Link from '../Link';
import Loader from '../Loader';
import Icon from '../Icon';
import { encodeUri } from '../../util/format';
import {

View File

@ -106,7 +106,8 @@
}
&--loader {
padding-top: 75%;
text-align: center;
margin-top: 50%;
}
}