Add error boundary component to catch Web UI crashes

This commit is contained in:
Thibaut Girka
2018-11-28 15:01:40 +01:00
committed by ThibG
parent 39c8a71df8
commit 922d05864f
4 changed files with 133 additions and 5 deletions

View File

@ -0,0 +1,32 @@
.error-boundary {
h1 {
font-size: 26px;
line-height: 36px;
font-weight: 400;
margin-bottom: 8px;
}
p {
color: $primary-text-color;
font-size: 15px;
line-height: 20px;
a {
color: $primary-text-color;
text-decoration: underline;
}
ul {
list-style: disc;
margin-left: 0;
padding-left: 1em;
}
textarea.web_app_crash-stacktrace {
width: 100%;
resize: none;
white-space: pre;
font-family: $font-monospace, monospace;
}
}
}

View File

@ -1263,3 +1263,4 @@ noscript {
@import 'lists';
@import 'emoji_picker';
@import 'local_settings';
@import 'error_boundary';