mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-31 20:51:26 +00:00
minor: update the error fallback image and styling (#16100)
* minor: update the error fallback image and styling * Update error fallback image and styling
This commit is contained in:
parent
b7c54c9ab5
commit
b9a6c92ad1
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 33 KiB |
@ -45,6 +45,7 @@ const ErrorFallback: React.FC<FallbackProps> = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Result
|
<Result
|
||||||
|
className="error-boundary-result"
|
||||||
extra={
|
extra={
|
||||||
<Button
|
<Button
|
||||||
className="ant-btn-primary-custom"
|
className="ant-btn-primary-custom"
|
||||||
@ -53,7 +54,7 @@ const ErrorFallback: React.FC<FallbackProps> = ({
|
|||||||
{isChunkLoadError ? t('label.refresh') : t('label.home')}
|
{isChunkLoadError ? t('label.refresh') : t('label.home')}
|
||||||
</Button>
|
</Button>
|
||||||
}
|
}
|
||||||
icon={<OmUpgradeIcon width={512} />}
|
icon={<OmUpgradeIcon />}
|
||||||
subTitle={message}
|
subTitle={message}
|
||||||
title={title}
|
title={title}
|
||||||
/>
|
/>
|
||||||
|
@ -771,3 +771,11 @@ a[href].link-text-grey,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.error-boundary-result {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user