From ff965e11fe89e6f3fdba3e35e1183f78bee8ddfe Mon Sep 17 00:00:00 2001 From: M Fahru Date: Thu, 11 Jan 2024 10:49:13 -0700 Subject: [PATCH] Merge pull request #16476 from overleaf/mf-features-card-list Website-redesign: Introduce `features-card-description-list` to differentiate whether the features-card have a list or a plain text as a description GitOrigin-RevId: ee1470d6100487706067c05d1c9f08d22a7903f0 --- .../stylesheets/app/website-redesign.less | 29 +++++++++++-------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/services/web/frontend/stylesheets/app/website-redesign.less b/services/web/frontend/stylesheets/app/website-redesign.less index 4c9c0b1e25..872ed0958e 100644 --- a/services/web/frontend/stylesheets/app/website-redesign.less +++ b/services/web/frontend/stylesheets/app/website-redesign.less @@ -164,20 +164,10 @@ } } - .features-card-description { + .features-card-description, + .features-card-description-list { padding-top: 16px; - h3.features-card-ul-title { - font-size: 1.875rem; - line-height: 1.5; - } - - h3.features-card-title { - font-size: 1.5rem; - line-height: 1.4; - margin-bottom: 8px; - } - p { margin-bottom: 16px; font-size: 1.125rem; @@ -230,6 +220,21 @@ } } } + + .features-card-description { + h3 { + font-size: 1.5rem; + line-height: 1.4; + margin-bottom: 8px; + } + } + + .features-card-description-list { + h3 { + font-size: 1.875rem; + line-height: 1.5; + } + } } .top-image-cards {