Chore: SCSS tidy up (#87956)

* more scss tidy up

* replace some scss
This commit is contained in:
Ashley Harrison
2024-05-16 11:20:29 +01:00
committed by GitHub
parent 086def3f57
commit 82eb160f5c
13 changed files with 582 additions and 759 deletions

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { LoadingPlaceholder } from '@grafana/ui';
import { Box, LoadingPlaceholder } from '@grafana/ui';
export interface Props {
text?: string;
@@ -8,8 +8,8 @@ export interface Props {
export const Loader = ({ text = 'Loading...' }: Props) => {
return (
<div className="page-loader-wrapper">
<Box display="flex" alignItems="center" direction="column" justifyContent="center" paddingTop={10}>
<LoadingPlaceholder text={text} />
</div>
</Box>
);
};