mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
[Client] Improve error screen rendering
This commit is contained in:
parent
fe808b5609
commit
72b7c84139
@ -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
|
||||
|
@ -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>'
|
||||
|
Loading…
Reference in New Issue
Block a user