mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 08:03:13 +09:00
Add ErrorBoundary to page content
Prevent the page from turning into a black screen when page rendering fails by adding an error boundary to the display of the page content in SiteLayout.jsx.
This commit is contained in:
1 parent
ac17b8497a
commit
b538960592
4 files changed
+50
-1
No files matched your search
@@ -82,6 +82,14 @@ body {
|
||||
background-size: 64px;
|
||||
}
|
||||
|
||||
.error-traceback code {
|
||||
display: block;
|
||||
margin: 0;
|
||||
background: #000;
|
||||
border-color: #252525;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.rcon-result code {
|
||||
display: block;
|
||||
background: #000;
|
||||
|
||||
Reference in new issue
Block a user