File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212// limitations under the License.
1313
1414import { ReactElement } from 'react' ;
15- import { Typography } from '@mui/material' ;
15+ import { Box , Typography } from '@mui/material' ;
1616import { LogsTableProps } from './model' ;
1717import { LogsList } from './components/LogsList' ;
1818
@@ -21,15 +21,16 @@ export function LogsTableComponent(props: LogsTableProps): ReactElement | null {
2121
2222 if ( queryResults [ 0 ] ?. data . logs === undefined ) {
2323 return (
24- < Typography
25- variant = "h3"
24+ < Box
2625 sx = { {
27- textAlign : 'center' ,
28- marginTop : 4 ,
26+ display : 'flex' ,
27+ justifyContent : 'center' ,
28+ alignItems : 'center' ,
29+ height : '100%' ,
2930 } }
3031 >
31- No logs to display
32- </ Typography >
32+ < Typography > No logs to display</ Typography >
33+ </ Box >
3334 ) ;
3435 }
3536 const logs = queryResults [ 0 ] ?. data . logs . entries ;
You can’t perform that action at this time.
0 commit comments