You need to sign in to do that
Don't have an account?
F Smoak
remove extra white space between two images
I am trying to remove extra space between images in the community page. Can anyone please help on this?
code snippet:
<aura:iteration items="{!v.dashboardWrapper.ProgramInfo}" var="q">
<aura:if isTrue="{!(q.Label == activeProgram.label)}">
<a data-program="{!activeProgram.label}" class="darkish-green" href="javascrip:void(0);" onclick="{!c.handleProgramClick}">
<img src="{!$Resource.programicons +'/' + q.Icon__c}" style="background-color: white;"/>
</a>
</aura:if>
</aura:iteration>
code snippet:
<aura:iteration items="{!v.dashboardWrapper.ProgramInfo}" var="q">
<aura:if isTrue="{!(q.Label == activeProgram.label)}">
<a data-program="{!activeProgram.label}" class="darkish-green" href="javascrip:void(0);" onclick="{!c.handleProgramClick}">
<img src="{!$Resource.programicons +'/' + q.Icon__c}" style="background-color: white;"/>
</a>
</aura:if>
</aura:iteration>
I believe you need to use CSS approach for this.
Check https://stackoverflow.com/questions/7641678/use-css-to-remove-the-space-between-images
https://developer.salesforce.com/forums/?id=9062I000000XuKzQAK