diff --git a/blocks/category-family/category-family.js b/blocks/category-family/category-family.js index e1843970d..fa73b12dc 100644 --- a/blocks/category-family/category-family.js +++ b/blocks/category-family/category-family.js @@ -105,6 +105,12 @@ const categoryFamily = ` padding-left: 1rem; padding-right: 1rem; } + .title a { + overflow: hidden; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; + } .mailbox-footer{ display: flex; width: 100%; diff --git a/blocks/product-resources/product-resources.js b/blocks/product-resources/product-resources.js index 3b7a5e7f1..286129a28 100644 --- a/blocks/product-resources/product-resources.js +++ b/blocks/product-resources/product-resources.js @@ -82,6 +82,12 @@ const productResources = ` font-size: 1.5rem; font-weight:600; } + .title a { + overflow: hidden; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; + } .description { color: #333; font-size: .875;