File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
packages/compass-crud/src/components Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,11 @@ const docsPerPageOptionStyles = css({
75
75
width : spacing [ 1600 ] + spacing [ 300 ] ,
76
76
} ) ;
77
77
78
+ const loaderContainerStyles = css ( {
79
+ paddingLeft : spacing [ 200 ] ,
80
+ paddingRight : spacing [ 200 ] ,
81
+ } ) ;
82
+
78
83
type ExportDataOption = 'export-query' | 'export-full-collection' ;
79
84
const exportDataActions : MenuAction < ExportDataOption > [ ] = [
80
85
{ action : 'export-query' , label : 'Export query results' } ,
@@ -380,7 +385,9 @@ const CrudToolbar: React.FunctionComponent<CrudToolbarProps> = ({
380
385
{ displayedDocumentCount && `of ${ displayedDocumentCount } ` }
381
386
</ Body >
382
387
{ loadingCount && (
383
- < SpinLoader size = "12px" title = "Fetching document count…" />
388
+ < div className = { loaderContainerStyles } >
389
+ < SpinLoader size = "12px" title = "Fetching document count…" />
390
+ </ div >
384
391
) }
385
392
{ ! loadingCount && ! isFetching && (
386
393
< IconButton
You can’t perform that action at this time.
0 commit comments