Get rid of the white flash when the app starts up (#3083)

* Prevent FOUC on startup, use Signal Blue instead

Instead of flashing a white background on startup, the app will show a blue background while everything is loading.

* Make sure tests are rendered on white background

* Use `icon_250.png` as the loading image

* Remove hardcoded 'Loading...' text from template
This commit is contained in:
Vanja Cosic
2019-02-05 18:25:05 +01:00
committed by Scott Nonnenberg
parent b69e720c81
commit b26f6231d8
4 changed files with 11 additions and 6 deletions

View File

@@ -29,7 +29,7 @@
<script type='text/x-tmpl-mustache' id='app-loading-screen'>
<div class='content'>
<img src='images/icon_128.png'>
<img src='images/icon_250.png' height='150'>
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
@@ -645,7 +645,7 @@
<body>
<div class='app-loading-screen'>
<div class='content'>
<img src='images/icon_128.png'>
<img src='images/icon_250.png' height='150'>
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>