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.

features: Suppress plan-comparison subheadings.

Karl Stolley76220fdc2c23
diff --git a/templates/corporate/features.html b/templates/corporate/features.html
index aa622dd5476..1134524a844 100644
--- a/templates/corporate/features.html
+++ b/templates/corporate/features.html
@@ -14,7 +14,7 @@
{% include 'zerver/landing_nav.html' %}
-<div class="portico-pricing showing-cloud">
+<div class="portico-pricing features-page showing-cloud">
<div class="body-bg">
<div class="body-bg__layer"></div>
</div>
diff --git a/web/styles/portico/comparison_table.css b/web/styles/portico/comparison_table.css
index 9ba0998ba0b..c39d4db5c83 100644
--- a/web/styles/portico/comparison_table.css
+++ b/web/styles/portico/comparison_table.css
@@ -594,3 +594,17 @@
}
}
}
+
+.features-page {
+ /* Always suppress subheadings on /features */
+ #cloud-plan-comparison,
+ #self-hosted-plan-comparison,
+ #all-plan-comparison {
+ display: none !important;
+ }
+ /* Maintain the margin-top ordinarily set on
+ the subheadings. */
+ .comparison-tabs {
+ margin-top: 64px;
+ }
+}