From 04b4d771c616a3884d127183bd12cf85f23232ab Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Mon, 31 Mar 2014 11:26:34 -0500 Subject: [PATCH] fix(item): Fix css overflow overrides for .item-text-wrap --- scss/_items.scss | 7 ++++--- test/html/cards.html | 22 +++++++++++++++++++++- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/scss/_items.scss b/scss/_items.scss index 628087399c..f00d5a9ef3 100644 --- a/scss/_items.scss +++ b/scss/_items.scss @@ -202,6 +202,7 @@ a.item-content { } .item-text-wrap .item, +.item-text-wrap .item-content, .item-text-wrap, .item-text-wrap h1, .item-text-wrap h2, @@ -218,7 +219,7 @@ a.item-content { .item-body h5, .item-body h6, .item-body p { - overflow: hidden; + overflow: visible; white-space: normal; } .item-complex.item-text-wrap, @@ -229,8 +230,8 @@ a.item-content { .item-complex.item-text-wrap h5, .item-complex.item-text-wrap h6, .item-complex.item-text-wrap p { - overflow: hidden; - white-space: nowrap; + overflow: visible; + white-space: normal; } diff --git a/test/html/cards.html b/test/html/cards.html index 14abdff263..d783011be9 100644 --- a/test/html/cards.html +++ b/test/html/cards.html @@ -15,7 +15,7 @@

Cards

- +
@@ -33,6 +33,26 @@
+
+
+
+ This is a basic Card with some wrapping text. + This is a basic Card with some wrapping text. + This is a basic Card with some wrapping text. +
+
+
+ +
+
+
+ This is a basic Card with some wrapping text. + This is a basic Card with some wrapping text. + This is a basic Card with some wrapping text. +
+
+
+
I'm a Header in a Card!