From 185637c46f724be2168ad95bae0291af724a34b1 Mon Sep 17 00:00:00 2001 From: Paul Morales Date: Fri, 30 Nov 2018 12:19:37 -0800 Subject: [PATCH] STRF-5651: Break product card titles on overflow. --- CHANGELOG.md | 1 + .../components/stencil/productCarousel/_productCarousel.scss | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46c47691f7..0dbedc17f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Cart switch from quote item hash to id which is immutable [#1387](https://github.com/bigcommerce/cornerstone/pull/1387) - Remove extra font only used for textual store logo. [#1375](https://github.com/bigcommerce/cornerstone/pull/1375) - shotaK's Add context to the menu collapsible factory target elements [#1382](https://github.com/bigcommerce/cornerstone/pull/1382) +- Added default rule for product carousel card title to break words on overflow. [#1389](https://github.com/bigcommerce/cornerstone/pull/1389) ## 2.6.0 (2018-11-05) - Add support for Card Management: List, Delete, Edit, Add and Default Payment Method [#1376](https://github.com/bigcommerce/cornerstone/pull/1376) diff --git a/assets/scss/components/stencil/productCarousel/_productCarousel.scss b/assets/scss/components/stencil/productCarousel/_productCarousel.scss index d6866c61fd..b34989f4c5 100644 --- a/assets/scss/components/stencil/productCarousel/_productCarousel.scss +++ b/assets/scss/components/stencil/productCarousel/_productCarousel.scss @@ -33,5 +33,9 @@ .card { margin-bottom: 0; + + .card-title { + overflow-wrap: break-word; + } } }