diff --git a/css/civicrm.css b/css/civicrm.css index e4f2395424b0..a30c25c3c340 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -1073,6 +1073,7 @@ input.crm-form-entityref { #crm-recently-viewed ul { list-style-image: none; font-size: .9em; + padding: 0; } #crm-recently-viewed li.crm-recently-viewed { @@ -1125,6 +1126,11 @@ input.crm-form-entityref { display: block; } +.crm-recentview-item { + overflow: hidden; + text-overflow: ellipsis; +} + #crm-recently-viewed .crm-recentview-wrapper a:hover { color: #494949; } diff --git a/templates/CRM/Block/RecentlyViewed.tpl b/templates/CRM/Block/RecentlyViewed.tpl index 0cc566c6e446..571bf07520f0 100644 --- a/templates/CRM/Block/RecentlyViewed.tpl +++ b/templates/CRM/Block/RecentlyViewed.tpl @@ -25,30 +25,34 @@ *} {* Displays recently viewed objects (contacts and other objects like groups, notes, etc. *}