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.

plans: Align price with `details` when no discount is applied.

Aman Agrawal3cb1ebeb343d
diff --git a/templates/corporate/pricing_model.html b/templates/corporate/pricing_model.html
index e7bd5d52023..0b32b28d17e 100644
--- a/templates/corporate/pricing_model.html
+++ b/templates/corporate/pricing_model.html
@@ -204,7 +204,7 @@
or (is_self_hosted_realm and sponsorship_pending and requested_sponsorship_plan == "Basic")
or (is_self_hosted_realm and customer_plan and customer_plan.tier == customer_plan.TIER_SELF_HOSTED_BASIC)%}
<div class="price no-discount"><span class="currency-symbol">$</span>3.50</div>
- <div class="details singular-billing-frequency">
+ <div class="details no-discount singular-billing-frequency">
<p>
/user/month billed monthly
</p>
diff --git a/web/styles/portico/pricing_plans.css b/web/styles/portico/pricing_plans.css
index d137710c468..d6c62717a83 100644
--- a/web/styles/portico/pricing_plans.css
+++ b/web/styles/portico/pricing_plans.css
@@ -380,13 +380,6 @@ html {
font-size: 38px;
line-height: 1;
letter-spacing: -1px;
-
- &.no-discount {
- /* Pad prices that do not have
- a discount (e.g., Free, or a
- customer's current plan). */
- padding-bottom: 25px;
- }
}
.currency-symbol {
@@ -418,6 +411,16 @@ html {
border-radius: 4px 4px 0 0;
background-color: hsl(0deg 0% 85%);
}
+
+ .price,
+ .details {
+ &.no-discount {
+ /* Pad prices that do not have
+ a discount (e.g., Free, or a
+ customer's current plan). */
+ padding-bottom: 25px;
+ }
+ }
}
}