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: Tweak edge cases across feature subheaders.

Karl Stolley65bbfa8d441d
diff --git a/web/styles/portico/comparison_table.css b/web/styles/portico/comparison_table.css
index c39d4db5c83..c3ca8e9b11e 100644
--- a/web/styles/portico/comparison_table.css
+++ b/web/styles/portico/comparison_table.css
@@ -363,9 +363,8 @@
font-size: 13px;
line-height: 16px;
box-sizing: border-box;
- height: 44px;
- padding-bottom: 4px;
- padding-top: 4px;
+ padding-top: 10px;
+ padding-bottom: 8px;
}
.comparison-table td.comparison-table-feature {
@@ -576,7 +575,8 @@
}
.comparison-table td.stuck {
- padding-top: 24px;
+ padding-top: 20px;
+ padding-bottom: 6px;
vertical-align: top;
}
}
@@ -591,10 +591,35 @@
.comparison-table td.subheader.comparison-table-feature {
/* Line up features with plan titles. */
line-height: 14px;
+ min-width: auto;
+ }
+
+ .comparison-table td.stuck {
+ top: 64px;
+ height: 55px;
}
}
}
+@media (width <= 500px) {
+ .comparison-table td.subheader.comparison-table-feature {
+ min-width: max-content;
+ }
+}
+
+@media (width <= 356px) {
+ .zulip-plans-comparison
+ .comparison-table
+ td.subheader.comparison-table-feature {
+ height: 51px;
+ top: 60px;
+ }
+
+ .zulip-plans-comparison .comparison-table th {
+ height: 51px;
+ }
+}
+
.features-page {
/* Always suppress subheadings on /features */
#cloud-plan-comparison,