From e6110f206f62500c19cd802c7c46b1b7b7cfb2aa Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Sat, 14 Oct 2017 16:10:10 +0100 Subject: [PATCH] Fix display of 'Recent Items' when using a bootstrap theme --- css/civicrm.css | 5 ++++ templates/CRM/Block/RecentlyViewed.tpl | 38 ++++++++++++++------------ 2 files changed, 26 insertions(+), 17 deletions(-) diff --git a/css/civicrm.css b/css/civicrm.css index e4f2395424..67c7081ff6 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,10 @@ input.crm-form-entityref { display: block; } +.crm-recentview-item { + overflow: hidden; +} + #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 0cc566c6e4..571bf07520 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. *}
-
{literal} - + {/literal} -- 2.25.1