From fced6f00bd4013cf3ac347be013374e7e2c9fe0c Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 11 Feb 2014 16:55:39 -0800 Subject: [PATCH] CRM-13966 - default size for entityRef fields --- CRM/Activity/Form/Activity.php | 2 +- css/civicrm.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CRM/Activity/Form/Activity.php b/CRM/Activity/Form/Activity.php index 82ec0cf40b..b246c469e5 100644 --- a/CRM/Activity/Form/Activity.php +++ b/CRM/Activity/Form/Activity.php @@ -771,7 +771,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { $sourceContactField = $this->addEntityRef( 'source_contact_id', $this->_fields['source_contact_id']['label'], - array('class' => 'huge'), + array(), TRUE ); // Only admins and case-workers can change the activity source diff --git a/css/civicrm.css b/css/civicrm.css index b333cefcb5..e9de3c6930 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -171,7 +171,8 @@ div.crm-container fieldset label{ .crm-container .big { width: 15em; } -.crm-container .huge { +.crm-container .huge, +input.crm-form-entityref { width: 25em; } .crm-container .huge40 { -- 2.25.1