diff options
| author | Haishan <[email protected]> | 2018-12-23 23:36:17 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2018-12-23 23:36:17 +0800 |
| commit | 38e5b480c0ae4af53bf734d65595fbdbf72dd2c1 (patch) | |
| tree | a94c01744d046629f8e80ba244ac556ce8cdd039 /src/components/ErrorBoundaryFallback.module.scss | |
| parent | a72115067a8aee5dce75ad34a280a2588ac24c0e (diff) | |
feat: add a customized ErrorBoundaryFallback
Diffstat (limited to 'src/components/ErrorBoundaryFallback.module.scss')
| -rw-r--r-- | src/components/ErrorBoundaryFallback.module.scss | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/components/ErrorBoundaryFallback.module.scss b/src/components/ErrorBoundaryFallback.module.scss new file mode 100644 index 0000000..5deae74 --- /dev/null +++ b/src/components/ErrorBoundaryFallback.module.scss @@ -0,0 +1,30 @@ +.root { + position: fixed; + top: 0; + bottom: 0; + left: 0; + right: 0; + overflow: hidden; + + padding: 20px; + background: var(--color-background); + color: var(--color-text); + text-align: center; +} + +.yacd { + color: #2a477a; + opacity: 0.6; + display: flex; + justify-content: center; + align-items: center; + padding: 40px; +} + +.link { + color: var(--color-text-secondary); + &:hover, + &:active { + color: #387cec; + } +} |
