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_page: Allow different max-widths on cloud, self-hosted panes.

Karl Stolley871054bd1e27
diff --git a/templates/corporate/pricing_model.html b/templates/corporate/pricing_model.html
index 3a49653e2df..015c6d16c9a 100644
--- a/templates/corporate/pricing_model.html
+++ b/templates/corporate/pricing_model.html
@@ -64,8 +64,8 @@
<div class="price"><span class="currency-symbol">$</span>6.67</div>
<div class="details">
<p>
- /user/month billed annually or
- <b>$8</b> billed monthly
+ /user/month billed annually
+ or&nbsp;<b>$8</b>&nbsp;billed monthly
</p>
</div>
</div>
@@ -120,8 +120,8 @@
<div class="price"><span class="currency-symbol">$</span>13.34</div>
<div class="details">
<p>
- /user/month billed annually or
- <b>$16</b> billed monthly
+ /user/month billed annually
+ or&nbsp;<b>$16</b>&nbsp;billed monthly
</p>
</div>
</div>
diff --git a/web/styles/portico/hello.css b/web/styles/portico/hello.css
index 015c18a71df..dce497bcf84 100644
--- a/web/styles/portico/hello.css
+++ b/web/styles/portico/hello.css
@@ -1173,20 +1173,19 @@ ul {
.pricing-container {
display: grid;
grid-template:
- ". cloud-title self-hosted-title . " auto
- "pricing pricing pricing pricing" auto / 56px minmax(
+ ". . cloud-title self-hosted-title . . " auto
+ "pricing pricing pricing pricing pricing pricing" auto / 56px 1fr minmax(
0,
- 1fr
+ 420px
)
- minmax(0, 1fr) 56px;
+ minmax(0, 420px) 1fr 56px;
column-gap: 2px;
- max-width: 960px;
margin: 50px auto 38px;
@media screen and (width <= 700px) {
grid-template-columns:
- 40px minmax(0, 1fr)
- minmax(0, 1fr) 40px;
+ 40px 1fr minmax(0, 420px)
+ minmax(0, 420px) 1fr 40px;
}
}
@@ -1320,13 +1319,8 @@ ul {
}
.text-content {
- max-width: 332px;
margin: 0 auto;
}
-
- .bottom .text-content {
- max-width: 268px;
- }
}
.text-content {
@@ -1544,6 +1538,10 @@ ul {
}
&.showing-cloud {
+ .pricing-container {
+ max-width: 1100px;
+ }
+
.self-hosted-scroll,
.self-hosted-plan-pricing,
.self-hosted-additional-pricing {
@@ -1590,6 +1588,10 @@ ul {
}
&.showing-self-hosted {
+ .pricing-container {
+ max-width: 960px;
+ }
+
.cloud-scroll,
.cloud-plan-pricing,
.cloud-additional-pricing {
@@ -1633,6 +1635,16 @@ ul {
}
}
}
+
+ .price-box {
+ .text-content {
+ max-width: 332px;
+ }
+
+ .bottom .text-content {
+ max-width: 268px;
+ }
+ }
}
@media screen and (width <= 940px) {