Преглед изворни кода

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
M Fahru пре 2 година
родитељ
комит
ff965e11fe
1 измењених фајлова са 17 додато и 12 уклоњено
  1. 17 12
      services/web/frontend/stylesheets/app/website-redesign.less

+ 17 - 12
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 {