I have an issue with the lightning-accordion-section styling where it overlaps with the action buttons:
Here is my code:
<lightning-accordion allow-multiple-sections-open>
<lightning-accordion-section
name={item.Id}
label="Accordion Label"
heading-level="3"
>
<lightning-button
variant="outline"
label="Map It"
title="Map It"
slot="actions"
></lightning-button>
<template lwc:if={isStatusNewOrPosted}>
<lightning-button
variant="brand"
label="Edit"
title="Edit"
slot="actions"
class="slds-m-left_small"
></lightning-button>
</template>
<div><!-- content --></div>
</lightning-accordion-section>
</lightning-accordion>
Is there a way to fix it so that the button border is not overlapping the action buttons?
I looked through the Salesforce documentation and searched for similar issues on the web but couldn't find any useful information.