diff --git a/docs/index.html b/docs/index.html index 47975923..c8f66fba 100644 --- a/docs/index.html +++ b/docs/index.html @@ -46,7 +46,7 @@ transform: translate(-50%, 0%); } - .loading { + .centered { margin-right: auto; margin-left: auto; display: block; @@ -54,9 +54,10 @@ top: 50%; left: 50%; transform: translate(-50%, -50%); - color: white; + color: #f0f0f0; font-size: 24px; font-family: Ubuntu-Light, Helvetica, sans-serif; + text-align: center; } /* ---------------------------------------------- */ @@ -94,8 +95,10 @@
-+ Loading… +
+ An error occurred loading egui +
++ ${error} +
++ Make sure you use a modern browser with WebGL and WASM enabled. +
`; }