Skip to content

Commit

Permalink
new_server_form: Move inline styles to preference.css stylesheet.
Browse files Browse the repository at this point in the history
Fixes: #1012
  • Loading branch information
manila committed May 6, 2022
1 parent 9ffdffc commit dca3703
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions app/renderer/css/preference.css
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ label.setting-input-value:focus-within {
.server-url-size-calc {
visibility: hidden;
height: 0;
width: 34ch;
}

.manual-proxy-block {
Expand Down
1 change: 0 additions & 1 deletion app/renderer/js/pages/preference/new-server-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export function initNewServerForm({$root, onChange}: NewServerFormProps): void {
class="setting-input-add-server"
autofocus
placeholder="your-organization.zulipchat.com"
style="width: 34ch"
/>
<span class="add-server-domain"></span>
<span class="server-url-size-calc"></span>
Expand Down

0 comments on commit dca3703

Please sign in to comment.