From 72b7c8413934c424cd5ff897081931f5629c807e Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 13 Jun 2017 03:20:43 +0900 Subject: [PATCH] [Client] Improve error screen rendering --- src/web/app/base.styl | 7 ------- src/web/app/init.js | 1 + 2 files changed, 1 insertion(+), 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 = '
' + '

:( 致命的な問題が発生しました。

'