From d6379709ca0f6ffefe042b91d48b39a13e4d4b7e Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 30 Oct 2014 17:58:58 -0400 Subject: [PATCH] CRM-15541 - change crm-container-snippet to crm-container for embedded profile forms --- css/civicrm.css | 12 ++++-------- templates/CRM/Profile/Form/Dynamic.tpl | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/css/civicrm.css b/css/civicrm.css index af73f0a508..6b0b41044a 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -422,13 +422,11 @@ input.crm-form-entityref { } .crm-container .crm-section, -.crm-container div.crm-field-wrapper, -.crm-container-snippet .crm-section { +.crm-container div.crm-field-wrapper { margin-bottom: 1em; } -.crm-container .crm-section .label, -.crm-container-snippet .crm-section .label { +.crm-container .crm-section .label { float: left; width: 17%; text-align: right; @@ -438,8 +436,7 @@ input.crm-form-entityref { text-align: left; } -.crm-container .crm-section .content, -.crm-container-snippet .crm-section .content { +.crm-container .crm-section .content { margin-left: 19%; } @@ -702,8 +699,7 @@ input.crm-form-entityref { color: #000080; } -.crm-container .crm-marker, -.crm-container-snippet .crm-marker { +.crm-container .crm-marker{ color: #8A1F11; font-weight: bold; margin-right: 5px; diff --git a/templates/CRM/Profile/Form/Dynamic.tpl b/templates/CRM/Profile/Form/Dynamic.tpl index dff4c3f48d..773dc6807c 100644 --- a/templates/CRM/Profile/Form/Dynamic.tpl +++ b/templates/CRM/Profile/Form/Dynamic.tpl @@ -44,7 +44,7 @@ {* Replace div id "crm-container" only when profile is not loaded in civicrm container, i.e for profile shown in my account and in profile standalone mode otherwise id should be "crm-profile-block" *} {if $action eq 1 or $action eq 2 or $action eq 4 } -
+
{else}
{/if} -- 2.25.1