fix renderError style

This commit is contained in:
srgooglo 2022-06-05 10:52:11 +02:00
parent f06ab1d598
commit 089f0826a8
2 changed files with 19 additions and 2 deletions

View File

@ -40,7 +40,7 @@ export default (props) => {
} }
return ( return (
<div> <div className="renderError">
<Result <Result
status="error" status="error"
title="Render Error" title="Render Error"

View File

@ -304,6 +304,24 @@ body {
/* disable the IOS popup when long-press on a link */ /* disable the IOS popup when long-press on a link */
} }
.renderError {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
.ant-result {
background-color: var(--background-color-primary);
border-radius: 8px;
}
}
.splash_wrapper { .splash_wrapper {
position: absolute; position: absolute;
@ -312,7 +330,6 @@ body {
overflow: hidden; overflow: hidden;
//background-color: rgba(240, 242, 245, 0.8);
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
--webkit-backdrop-filter: blur(10px); --webkit-backdrop-filter: blur(10px);