Skip to content

Commit

Permalink
UI: Reconnect network page imporoved.
Browse files Browse the repository at this point in the history
Fixes zulip#862. Center aligned the text and added a table to make points look better.Div tags are changed to button tag and mobile comptaibility added.
  • Loading branch information
samyakgaur committed Sep 22, 2020
1 parent b477e0d commit 422ef18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions app/renderer/css/network.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ li:hover span {
display: flex;
flex-direction: column;
font-family: "Trebuchet MS", Helvetica, sans-serif;
margin: 100px 200px;
text-align: center;
}

Expand All @@ -69,7 +68,6 @@ li:hover span {
text-align: left;
font-size: 16px;
list-style-position: inside;
/* text-align: justify; */
}

#reconnect {
Expand All @@ -81,14 +79,12 @@ li:hover span {
}

.button {
margin-top: 20px;
font-size: 16px;
background: rgba(0, 150, 136, 1.000);
color: rgba(255, 255, 255, 1.000);
width: 96px;
height: 32px;
border-radius: 7px;
line-height: 35px;
cursor: pointer;
}

Expand All @@ -103,6 +99,7 @@ li:hover span {

.maingraphic {
position: relative;
margin-bottom: 60px;
}

.cog {
Expand Down
4 changes: 2 additions & 2 deletions app/renderer/network.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
<li>This Zulip organization has been moved or deleted.</li>
</ul>
<div id="buttons">
<div id="reconnect" class="button">Reconnect</div>
<div id="settings" class="button">Settings</div>
<button id="reconnect" class="button">Reconnect</button>
<button id="settings" class="button">Settings</button>
</div>
</div>
</div>
Expand Down

0 comments on commit 422ef18

Please sign in to comment.