Skip to content

Commit 94212af

Browse files
committed
Fixes #862
1 parent b8d7003 commit 94212af

File tree

2 files changed

+32
-12
lines changed

2 files changed

+32
-12
lines changed

app/renderer/css/network.css

Lines changed: 22 additions & 4 deletions
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+
#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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@
1414
<body>
1515
<div id="content">
1616
<div id="picture"><img src="img/zulip_network.png" /></div>
17-
<div id="title">We can't connect to this organization</div>
18-
<div id="subtitle">This could be because</div>
19-
<ul id="description">
20-
<li>You're not online or your proxy is misconfigured.</li>
21-
<li>There is no Zulip organization hosted at this URL.</li>
22-
<li>This Zulip organization is temporarily unavailable.</li>
23-
<li>This Zulip organization has been moved or deleted.</li>
24-
</ul>
17+
<div id="texts">
18+
<div id="title">We can't connect to this organization</div>
19+
<div id="subtitle">This could be because</div>
20+
<ul id="description">
21+
<li>You're not online or your proxy is misconfigured.</li>
22+
<li>There is no Zulip organization hosted at this URL.</li>
23+
<li>This Zulip organization is temporarily unavailable.</li>
24+
<li>This Zulip organization has been moved or deleted.</li>
25+
</ul>
26+
</div>
2527
<div id="buttons">
2628
<div id="reconnect" class="button">Reconnect</div>
2729
<div id="settings" class="button">Settings</div>

0 commit comments

Comments
 (0)