Skip to content

Commit

Permalink
Icon and Padding Small + Extension Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tschug committed Nov 11, 2023
1 parent 1994030 commit 66778d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
<behavior>Edit</behavior>
<field>Maximum__c</field>
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
<field>Text_Operator__c</field>
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
<field>Contains_Text__c</field>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ <h3 slot="title">
<lightning-icon
lwc:if={card.icon}
icon-name={card.icon}
size="medium"
size="small"
class={card.iconClass}
>
</lightning-icon>
{card.title}
</h3>
</template>
<template lwc:if={showDescription}>
<p class="slds-var-p-horizontal_medium slds-var-p-bottom_medium">{card.body}</p>
<p class="slds-var-p-horizontal_medium slds-var-p-bottom_small">{card.body}</p>
</template>
</template>
<!-- TODO: Do we put this in a Layout which would be responsive to the container, this could allow for empty slots too -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<externalId>false</externalId>
<fieldManageability>SubscriberControlled</fieldManageability>
<label>Text Operator</label>
<inlineHelpText>For "Contains Text" value, choose how to match the text. Defaults to Contains if no value entered.</inlineHelpText>
<required>false</required>
<type>Picklist</type>
<valueSet>
Expand Down

0 comments on commit 66778d0

Please sign in to comment.