diff --git a/client/css/style.css b/client/css/style.css index 43442956..e34f89f7 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -1302,6 +1302,7 @@ button { -webkit-flex: 0 0 auto; flex: 0 0 auto; padding: 5px; + position: relative; } #windows #form .input { @@ -1317,6 +1318,27 @@ button { align-items: flex-end; } +#connection-error { + display: none; + align-items: center; + justify-content: center; + line-height: 1; + background: #f44336; + color: #fff; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + padding: 5px; + z-index: 30; + cursor: pointer; +} + +#connection-error.shown { + display: flex; +} + [contenteditable]:focus { outline: none; } diff --git a/client/index.html b/client/index.html index a1a13c40..01004283 100644 --- a/client/index.html +++ b/client/index.html @@ -58,6 +58,7 @@
+
Client connection lost. Click to reconnect.