Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
billing: Fix style of cancel button and adjust app margins.
Aman Agrawal9d7e10950ff6
diff --git a/templates/corporate/billing.html b/templates/corporate/billing.htmlindex d0ed15e0ee7..743d1d28b42 100644--- a/templates/corporate/billing.html+++ b/templates/corporate/billing.html@@ -155,16 +155,16 @@{% else %}{% if downgrade_at_end_of_cycle %}<input name="status" type="hidden" value="{{ CustomerPlan.ACTIVE }}" />- <div class="reactivate-current-plan">- <button class="reactivate-current-plan-button">+ <div class="reactivate-current-plan plan-toggle-action input-box billing-page-field no-validation">+ <button class="reactivate-current-plan-button plan-toggle-action-button"><span class="billing-button-text">Reactivate subscription</span><object class="loader billing-button-loader" type="image/svg+xml" data="{{ static('images/loading/loader-white.svg') }}"></object></button></div>{% else %}<input name="status" type="hidden" value="{{ CustomerPlan.DOWNGRADE_AT_END_OF_CYCLE }}" />- <div class="cancel-current-plan">- <button class="cancel-current-plan-button">+ <div class="cancel-current-plan plan-toggle-action input-box billing-page-field no-validation">+ <button class="cancel-current-plan-button plan-toggle-action-button"><span class="billing-button-text">Cancel plan</span><object class="loader billing-button-loader" type="image/svg+xml" data="{{ static('images/loading/loader-white.svg') }}"></object></button>diff --git a/web/styles/portico/billing.css b/web/styles/portico/billing.cssindex bf2ca3a8efe..175435751ee 100644--- a/web/styles/portico/billing.css+++ b/web/styles/portico/billing.css@@ -418,6 +418,10 @@ input[name="licenses"] {text-align: left;}+#billing-page .pitch {+ width: 600px;+}+#billing-page .number-input-with-label {display: flex;align-items: flex-end;@@ -444,11 +448,30 @@ input[name="licenses"] {display: none;}+#billing-page-details .input-box.billing-page-field.plan-toggle-action,#billing-page-details .input-box.billing-page-field.user-stripe-card-update {margin-top: 10px;text-align: left;}+#billing-page-details .plan-toggle-action .plan-toggle-action-button {+ margin: 20px auto 0;+ background-color: hsl(0deg 70% 40%);+}+#billing-page-details .user-stripe-card-update .user-stripe-card-update-button {margin: 0;}++#billing-page-details .next-payment-info {+ width: 450px;+ padding-top: 0;+}++#billing-page-details .input-box.billing-page-field:first-child {+ margin-top: 10px;+}++#billing-page .support-link {+ text-align: center;+}