• Keith Lee 15
  • NEWBIE
  • 10 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
Whats the best solution for displaying a related list of child accounts on a parent account?  I'm not talking about Account Hierarchy.  I'm talking about truly a related list.
I am trying to build a Lightning Component for a home page that will display three buttons with each one opening up a different link.  

The buttons are all lined up against the border on the left. How do I add padding so that they are all aligned just off of the border?

User-added image

Here is my code:
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,force:lightningQuickAction" access="global" >
    <lightning:card>
        <aura:set attribute="title">
            <lightning:icon iconName="utility:open_folder" size="small" />
            XYZ Reports
        </aura:set>
  
        <lightning:button label="Download XYZ Report" onclick="{! c.downloadClick}" iconName="utility:download" iconPosition="left" /><br/>
        <br/>
        <lightning:button label="View XYZ Report" onclick="{! c.viewReportClick}" /><br/>
        <br/>
        <lightning:button label="View XYZ Dashboard" onclick="{! c.viewDashClick}" /> <br/>  
        
    </lightning:card>
</aura:component>