diff --git a/js/trim.js b/js/trim.js index 7641199..c06aeab 100644 --- a/js/trim.js +++ b/js/trim.js @@ -1,7 +1,7 @@ var length = 35; $(function(){ - $(".trim-that a, limit").each(function(i){ + $(".trim-that a, .limit").each(function(i){ len=$(this).text().length; if(len>length) { diff --git a/scss/components/_cards.scss b/scss/components/_cards.scss index a55817a..e37056b 100644 --- a/scss/components/_cards.scss +++ b/scss/components/_cards.scss @@ -28,6 +28,7 @@ $card-smallpad: $lineheight_half; padding-bottom: $size/2!important; margin-bottom:$lineheight_half; line-height:$lineheight; + white-space: nowrap; position:relative; left: -$size*1.25; diff --git a/style.css b/style.css index ba158ac..0bb2382 100644 --- a/style.css +++ b/style.css @@ -839,6 +839,7 @@ ul.social { padding-bottom: 0.75rem !important; margin-bottom: 0.75rem; line-height: 1.5rem; + white-space: nowrap; position: relative; left: -1.875rem; width: 95%; @@ -987,6 +988,7 @@ ul.card-list, .card > ul { padding-bottom: 0.75rem !important; margin-bottom: 0.75rem; line-height: 1.5rem; + white-space: nowrap; position: relative; left: -1.875rem; width: 95%; @@ -1774,6 +1776,7 @@ ul.breadcrumb, ol.breadcrumb, .breadcrumb { padding-bottom: 0.375rem !important; margin-bottom: 0.75rem; line-height: 1.5rem; + white-space: nowrap; position: relative; left: -0.9375rem; width: 95%;