Skip to content

Commit 7f3c1c8

Browse files
enesonusenesonus
authored and
enesonus
committed
Fixes #862
'texts' div id to 'network-error-texts'
1 parent af7272a commit 7f3c1c8

File tree

2 files changed

+32
-12
lines changed

2 files changed

+32
-12
lines changed

app/renderer/css/network.css

+22-4
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,26 @@ body {
88
user-select: none;
99
}
1010

11+
img {
12+
max-width: 100%;
13+
width: 380px;
14+
height: auto;
15+
vertical-align: middle;
16+
resize: both;
17+
}
18+
1119
#content {
12-
display: flex;
13-
flex-direction: column;
20+
display: grid;
21+
justify-content: center;
1422
font-family: "Trebuchet MS", Helvetica, sans-serif;
15-
margin: 100px 200px;
23+
margin: 100px 50px;
1624
text-align: center;
1725
}
1826

27+
#network-error-texts {
28+
color: rgb(32 45 58 / 100%);
29+
}
30+
1931
#title {
2032
text-align: left;
2133
font-size: 24px;
@@ -33,14 +45,20 @@ body {
3345
text-align: left;
3446
font-size: 16px;
3547
list-style-position: inside;
48+
padding: 20px;
49+
}
50+
51+
#buttons {
52+
display: flex;
53+
justify-content: start;
3654
}
3755

3856
#reconnect {
3957
float: left;
4058
}
4159

4260
#settings {
43-
margin-left: 116px;
61+
margin-left: 16px;
4462
}
4563

4664
.button {

app/renderer/network.html

+10-8
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@
1818
<body>
1919
<div id="content">
2020
<div id="picture"><img src="img/zulip_network.png" /></div>
21-
<div id="title">We can't connect to this organization</div>
22-
<div id="subtitle">This could be because</div>
23-
<ul id="description">
24-
<li>You're not online or your proxy is misconfigured.</li>
25-
<li>There is no Zulip organization hosted at this URL.</li>
26-
<li>This Zulip organization is temporarily unavailable.</li>
27-
<li>This Zulip organization has been moved or deleted.</li>
28-
</ul>
21+
<div id="network-error-texts">
22+
<div id="title">We can't connect to this organization</div>
23+
<div id="subtitle">This could be because</div>
24+
<ul id="description">
25+
<li>You're not online or your proxy is misconfigured.</li>
26+
<li>There is no Zulip organization hosted at this URL.</li>
27+
<li>This Zulip organization is temporarily unavailable.</li>
28+
<li>This Zulip organization has been moved or deleted.</li>
29+
</ul>
30+
</div>
2931
<div id="buttons">
3032
<div id="reconnect" class="button">Reconnect</div>
3133
<div id="settings" class="button">Settings</div>

0 commit comments

Comments
 (0)