RapiDoc
RapiDoc copied to clipboard
Styling to elements inside slots
I have searched but could not find any solution to this except a different issue: https://github.com/rapi-doc/RapiDoc/issues/678 that had a similar problem.
If I place something like this in a slot:
<div slot='header'>
<button onclick='setApiKey()'>Get new token</button>
</div>
The button does not get the styles applied as other buttons - it is the default browser style. I have tried to set styling with class="btn" and part="btn btn-outline" but it doesn't seem to work.
Any suggestion how to fix this - or is this a bug?