mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 13:47:15 +01:00
Update ErrorBoundary.
This commit is contained in:
parent
f3657685d1
commit
a6968e2f70
3 changed files with 4 additions and 7 deletions
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue