LukaszWatroba / v-accordion

Multi-level accordion component for AngularJS.
http://lukaszwatroba.github.io/v-accordion
MIT License
310 stars 100 forks source link

How to make the v-pane-content scrollable? #87

Open GeorgeChackungal opened 7 years ago

GeorgeChackungal commented 7 years ago

How do i make the v-pane-content scroll-able so that when it expands it doesn't increase the height of the container?

ravimallya commented 6 years ago

How about adding max-height and overflow-y:auto; to the .vAccordion--default v-pane.is-expanded>v-pane-content>div element like below:

.vAccordion--default v-pane.is-expanded>v-pane-content>div {
    max-height: 100px;
    overflow-y: scroll /* or auto */;
}