Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

sponsorship: Set width of elements like on support page.

Aman Agrawal2466101fe121
diff --git a/templates/corporate/sponsorship.html b/templates/corporate/sponsorship.html
index 0a13fa773b4..eccbecf9d37 100644
--- a/templates/corporate/sponsorship.html
+++ b/templates/corporate/sponsorship.html
@@ -14,11 +14,11 @@
<div id="sponsorship-input-section">
<form id="sponsorship-form" method="post">
<input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}" />
- <div class="input-box no-validation">
+ <div class="input-box sponsorship-form-field no-validation">
<label for="org-name" class="inline-block label-title">{{ _('Organization') }}</label>
<div id="org-name" class="not-editable-realm-field">{{ realm_name }}</div>
</div>
- <div class="input-box">
+ <div class="input-box sponsorship-form-field">
<div class="inline-block relative">
<select name="realm_type" id="realm_type" class="sponsorship-form-select">
{% for org_type in sorted_org_types %}
@@ -34,11 +34,11 @@
</div>
<label for="realm_type" class="inline-block label-title">{{ _('Organization type') }}</label>
</div>
- <div class="input-box no-validation">
+ <div class="input-box sponsorship-form-field no-validation">
<label for="org-website" class="inline-block label-title">{{ _('Organization website') }}</label>
<input id="org-website" name="website" type="text" class="input-large" placeholder="{{ _('Leave blank if your organization does not have a website.') }}"/>
</div>
- <div class="input-box">
+ <div class="input-box sponsorship-form-field">
<label for="description" class="inline-block label-title">{{ _('Describe your organization briefly') }}</label>
<textarea id="description" name="description" cols="100" rows="5" required></textarea>
</div>
diff --git a/web/styles/portico/portico_signin.css b/web/styles/portico/portico_signin.css
index 3dbfaa2fa7f..1ce45fdcb44 100644
--- a/web/styles/portico/portico_signin.css
+++ b/web/styles/portico/portico_signin.css
@@ -965,7 +965,8 @@ button#register_auth_button_gitlab {
}
}
- &.support-form-field {
+ &.support-form-field,
+ &.sponsorship-form-field {
width: 450px;
& input,
@@ -974,6 +975,10 @@ button#register_auth_button_gitlab {
font-size: 1rem;
}
+ & select {
+ width: 450px;
+ }
+
& textarea {
color: hsl(0deg 0% 33%);
vertical-align: middle;
@@ -1000,7 +1005,8 @@ button#register_auth_button_gitlab {
border-radius: 4px;
}
- .support-submit-button {
+ .support-submit-button,
+ #sponsorship-button {
margin-top: 20px;
margin-bottom: 5px;
width: 450px;