diff --git a/force-app/main/default/classes/PropertyDataController.cls b/force-app/main/default/classes/PropertyDataController.cls index 8ceda9c..7f8a29a 100644 --- a/force-app/main/default/classes/PropertyDataController.cls +++ b/force-app/main/default/classes/PropertyDataController.cls @@ -20,7 +20,7 @@ public with sharing class PropertyDataController { 'pcrm__Sub_Community_Propertyfinder__c, pcrm__Property_Name_Propertyfinder__c, ' + 'pcrm__City_Propertyfinder__c, ' + 'pcrm__Rent_Available_From__c, pcrm__Rent_Available_To__c, ' + - 'Contact__c, Contact__r.FirstName, Contact__r.LastName, ' + + 'Contact__c, Contact__r.FirstName, Contact__r.LastName, Contact__r.Email, Contact__r.Phone, ' + 'Email__c, Phone__c, ' + 'CreatedBy.Name, LastModifiedBy.Name, Owner.Name, ' + 'CreatedDate, LastModifiedDate ' + @@ -87,7 +87,7 @@ public with sharing class PropertyDataController { 'pcrm__Sub_Community_Propertyfinder__c, pcrm__Property_Name_Propertyfinder__c, ' + 'pcrm__City_Propertyfinder__c, ' + 'pcrm__Rent_Available_From__c, pcrm__Rent_Available_To__c, ' + - 'Contact__c, Contact__r.FirstName, Contact__r.LastName, ' + + 'Contact__c, Contact__r.FirstName, Contact__r.LastName, Contact__r.Email, Contact__r.Phone, ' + 'Email__c, Phone__c, ' + 'CreatedBy.Name, LastModifiedBy.Name, Owner.Name, ' + 'CreatedDate, LastModifiedDate ' + diff --git a/force-app/main/default/lwc/propertyTemplateSelector/propertyTemplateSelector.css b/force-app/main/default/lwc/propertyTemplateSelector/propertyTemplateSelector.css index f664bf3..3370e35 100644 --- a/force-app/main/default/lwc/propertyTemplateSelector/propertyTemplateSelector.css +++ b/force-app/main/default/lwc/propertyTemplateSelector/propertyTemplateSelector.css @@ -19,14 +19,16 @@ .enhanced-editor-content ul, .enhanced-editor-content ol { margin: 10px 0; - padding-left: 20px; + padding-left: 30px; list-style-position: outside; + display: block; } .enhanced-editor-content li { margin-bottom: 5px; line-height: 1.6; display: list-item; + position: relative; } .enhanced-editor-content ul { @@ -52,6 +54,45 @@ font-weight: normal; } +/* Fallback for browsers that don't support ::marker */ +.enhanced-editor-content ul li:before { + content: "•"; + color: #333; + font-weight: bold; + position: absolute; + left: -20px; +} + +.enhanced-editor-content ol li:before { + content: counter(list-item) "."; + color: #333; + font-weight: normal; + position: absolute; + left: -25px; +} + +/* Ensure lists are visible and properly formatted */ +.enhanced-editor-content ul, +.enhanced-editor-content ol { + list-style: none; + counter-reset: list-item; +} + +.enhanced-editor-content ol { + counter-reset: list-item; +} + +.enhanced-editor-content ol li { + counter-increment: list-item; +} + +/* Make sure list items are properly indented */ +.enhanced-editor-content ul li, +.enhanced-editor-content ol li { + padding-left: 10px; + margin-left: 0; +} + /* Enhanced Image Styles */ .enhanced-editor-content img { max-width: 100%; @@ -4125,6 +4166,39 @@ late particularay border:1px solid #e5e5e5; border-radius:8px; } + +/* Floating placeholder when there are no property images */ +.pdf-viewport.no-images .floating-placeholder { + position: absolute; + bottom: 16px; + right: 16px; + display: flex; + align-items: center; + gap: 10px; + z-index: 10; +} + +.pdf-viewport.no-images .placeholder-badge { + background: #e9ecef; + color: #495057; + border: 1px solid #dee2e6; + border-radius: 999px; + padding: 4px 10px; + font-size: 12px; + font-weight: 600; + text-transform: uppercase; + letter-spacing: 0.06em; +} + +.pdf-viewport.no-images .placeholder-bubble { + background: rgba(33, 37, 41, 0.92); + color: #fff; + padding: 10px 12px; + border-radius: 10px; + box-shadow: 0 6px 18px rgba(0,0,0,0.18); + max-width: 360px; + font-size: 13px; +} .pdf-canvas { transform-origin: center top; /* Center the zoom origin for better centering */ margin: 0; /* Remove margin since flexbox handles centering */ diff --git a/force-app/main/default/lwc/propertyTemplateSelector/propertyTemplateSelector.html b/force-app/main/default/lwc/propertyTemplateSelector/propertyTemplateSelector.html index 940f7ee..f03212f 100644 --- a/force-app/main/default/lwc/propertyTemplateSelector/propertyTemplateSelector.html +++ b/force-app/main/default/lwc/propertyTemplateSelector/propertyTemplateSelector.html @@ -425,10 +425,10 @@
- -