yansern / vue-multipane

Resizable split panes for Vue.js.
https://yansern.github.io/vue-multipane/
Other
588 stars 125 forks source link

height: 100% not working #10

Closed ghost closed 5 years ago

ghost commented 6 years ago

Thanks for a great component!

I ran into the following issue: I'd like the panes to take up 100% of the available space.

In the demo code (1st example), I tried setting height to 100% instead of 400px. This seems to disable the slider control and fixes the window height to the content size, rather than available space.

How can I size the panes to occupy the entire available space vertically?

yurayko commented 6 years ago
<style>
.multipane {
  height: 100vh;
}
</style>

or other parent block

ghost commented 5 years ago

Thanks, sorry for not closing sooner