Add background colours to loading overlays to make it more readable
This commit is contained in:
parent
33f34fb54f
commit
014cd553d1
@ -263,11 +263,13 @@ function ImportExportModal({ isOpen, onRequestClose }) {
|
||||
left: 0,
|
||||
}}
|
||||
>
|
||||
<LoadingOverlay />
|
||||
<LoadingBar
|
||||
isLoading={isLoading}
|
||||
loadingProgressRef={loadingProgressRef}
|
||||
/>
|
||||
<LoadingOverlay bg="overlay" />
|
||||
<Box sx={{ zIndex: 3, position: "absolute", width: "100%" }}>
|
||||
<LoadingBar
|
||||
isLoading={isLoading}
|
||||
loadingProgressRef={loadingProgressRef}
|
||||
/>
|
||||
</Box>
|
||||
</Box>
|
||||
)}
|
||||
<ErrorBanner error={error} onRequestClose={() => setError()} />
|
||||
|
@ -276,7 +276,7 @@ function SelectDataModal({
|
||||
{confirmText}
|
||||
</Button>
|
||||
</Flex>
|
||||
{isLoading && <LoadingOverlay />}
|
||||
{isLoading && <LoadingOverlay bg="overlay" />}
|
||||
</Box>
|
||||
</Modal>
|
||||
);
|
||||
|
@ -198,7 +198,7 @@ function SettingsModal({ isOpen, onRequestClose }) {
|
||||
</Text>
|
||||
</Flex>
|
||||
)}
|
||||
{isLoading && <LoadingOverlay />}
|
||||
{isLoading && <LoadingOverlay bg="overlay" />}
|
||||
</Flex>
|
||||
</Modal>
|
||||
<ConfirmModal
|
||||
|
Loading…
Reference in New Issue
Block a user