From 7f3c1c89b1eef15e4bf1d95756a3e1c6aa060bf5 Mon Sep 17 00:00:00 2001 From: Mehmet Enes Date: Fri, 31 Mar 2023 15:33:40 +0300 Subject: [PATCH] Fixes #862 'texts' div id to 'network-error-texts' --- app/renderer/css/network.css | 26 ++++++++++++++++++++++---- app/renderer/network.html | 18 ++++++++++-------- 2 files changed, 32 insertions(+), 12 deletions(-) diff --git a/app/renderer/css/network.css b/app/renderer/css/network.css index 3ed118e55..0f00782f4 100644 --- a/app/renderer/css/network.css +++ b/app/renderer/css/network.css @@ -8,14 +8,26 @@ body { user-select: none; } +img { + max-width: 100%; + width: 380px; + height: auto; + vertical-align: middle; + resize: both; +} + #content { - display: flex; - flex-direction: column; + display: grid; + justify-content: center; font-family: "Trebuchet MS", Helvetica, sans-serif; - margin: 100px 200px; + margin: 100px 50px; text-align: center; } +#network-error-texts { + color: rgb(32 45 58 / 100%); +} + #title { text-align: left; font-size: 24px; @@ -33,6 +45,12 @@ body { text-align: left; font-size: 16px; list-style-position: inside; + padding: 20px; +} + +#buttons { + display: flex; + justify-content: start; } #reconnect { @@ -40,7 +58,7 @@ body { } #settings { - margin-left: 116px; + margin-left: 16px; } .button { diff --git a/app/renderer/network.html b/app/renderer/network.html index a840a7d9c..7a5e99a17 100644 --- a/app/renderer/network.html +++ b/app/renderer/network.html @@ -18,14 +18,16 @@
-
We can't connect to this organization
-
This could be because
- +
+
We can't connect to this organization
+
This could be because
+
    +
  • You're not online or your proxy is misconfigured.
  • +
  • There is no Zulip organization hosted at this URL.
  • +
  • This Zulip organization is temporarily unavailable.
  • +
  • This Zulip organization has been moved or deleted.
  • +
+
Reconnect
Settings