I'm using this a link accordion menu to create a FAQ. Problem is that height is fixed, so whenever text is too long (or on mobile devices), text is cut us.
I've tried to use height: auto, overflow: hidden; min-height, !important and all the tags to make the height responsive, but whenever I do this, If I click on the tabs, the scrolling accordion effect doesn't work or it jumps to top page.
How can I solve this? I'd prefer not using JS or Jquery...thanks!
Here's the css
.ac-container input:checked ~ article.ac-small {
height: 140px;
}
All you need to do is Setting
height:autofor the below property.which is the one deciding height of the according body.
Plese find the link for the updated code.