Update ErrorBoundary.
This commit is contained in:
19
src/components/common/ErrorBoundary.module.css
Normal file
19
src/components/common/ErrorBoundary.module.css
Normal file
@@ -0,0 +1,19 @@
|
||||
.error {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
z-index: var(--z-index-overlay);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 600px;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.error button {
|
||||
align-self: center;
|
||||
}
|
||||
Reference in New Issue
Block a user