From 1a5c475910530c55294e07f5e80880f0e024e5f3 Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Thu, 22 Feb 2024 14:23:16 -0600 Subject: [PATCH] features: Make All view table as narrow as possible. --- web/styles/portico/comparison_table.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/web/styles/portico/comparison_table.css b/web/styles/portico/comparison_table.css index c3ca8e9b11..2421fdfe3b 100644 --- a/web/styles/portico/comparison_table.css +++ b/web/styles/portico/comparison_table.css @@ -599,6 +599,23 @@ height: 55px; } } + + @media (width <= 405px) { + /* For very tiny views, we get rid of the luxury + of any horizontal padding that's left. */ + .comparison-table-feature, + .cloud-cell, + .self-hosted-cell { + padding-left: 0; + padding-right: 0; + } + + /* Keep the comparison-table features from + colliding with the left screen edge, though. */ + .comparison-table-feature { + padding-left: 2px; + } + } } @media (width <= 500px) {