Added error boundary. Fixed #1976.

This commit is contained in:
Mike Cao committed 2023-04-25 14:41:54 -07:00
1 parent d73def80c7
commit 3f1ed750f0
7 files changed
+97 -20

No files matched your search

+19
View 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;
}