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({
7575 width : spacing [ 1600 ] + spacing [ 300 ] ,
7676} ) ;
7777
78+ const loaderContainerStyles = css ( {
79+ paddingLeft : spacing [ 200 ] ,
80+ paddingRight : spacing [ 200 ] ,
81+ } ) ;
82+
7883type ExportDataOption = 'export-query' | 'export-full-collection' ;
7984const exportDataActions : MenuAction < ExportDataOption > [ ] = [
8085 { action : 'export-query' , label : 'Export query results' } ,
@@ -380,7 +385,9 @@ const CrudToolbar: React.FunctionComponent<CrudToolbarProps> = ({
380385 { displayedDocumentCount && `of ${ displayedDocumentCount } ` }
381386 </ Body >
382387 { loadingCount && (
383- < SpinLoader size = "12px" title = "Fetching document count…" />
388+ < div className = { loaderContainerStyles } >
389+ < SpinLoader size = "12px" title = "Fetching document count…" />
390+ </ div >
384391 ) }
385392 { ! loadingCount && ! isFetching && (
386393 < IconButton
You can’t perform that action at this time.
0 commit comments