I'm currently facing an issue with JavaScript tabs on my website. The problem is that the tab names are getting included in the scrollbar, causing them to disappear when users scroll down. I have shared the code on JSFiddle for reference (link provided below). For context, I am embedding this on my site's main page using the following code:
<iframe class='demo' src='tabs.html' style='height:350px; width:700px' frameborder='0'></iframe>
Is there anyone who can guide me on how to modify the code so that the tab names or headers don't get mixed up in the scrollbar and remain visible for users to easily switch tabs?
Thank you in advance :)