summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/base.styl7
-rw-r--r--src/web/app/init.js1
2 files changed, 1 insertions, 7 deletions
diff --git a/src/web/app/base.styl b/src/web/app/base.styl
index 9fdb39a16c..81c039f0a3 100644
--- a/src/web/app/base.styl
+++ b/src/web/app/base.styl
@@ -30,14 +30,7 @@ html
cursor progress !important
#error
- position fixed
- z-index 32768
- top 0
- left 0
- width 100%
- height 100%
padding 32px
- background #1269e2
color #fff
hr
diff --git a/src/web/app/init.js b/src/web/app/init.js
index 825bbc77eb..44391b8fcb 100644
--- a/src/web/app/init.js
+++ b/src/web/app/init.js
@@ -175,6 +175,7 @@ function panic(e) {
console.error(e);
// Display blue screen
+ document.documentElement.style.background = '#1269e2';
document.body.innerHTML =
'<div id="error">'
+ '<h1>:( 致命的な問題が発生しました。</h1>'