I am seeing so many examples to align lightning card title and a button. But all the examples that are provided are using slots="actions" in the button. But that will align the button to the right most in the line where the title is. My requirement is to show the button right next to the title.
<template>
<lightning-card title="Hello">
<lightning-button label="New" slot="actions"></lightning-button>
</lightning-card>
</template>
this will show the button as shown in the image below:
I want the button just after the Title "Hello". Can you help me with this?