Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Orbit height - variable vs tallest content #3000
It is my understanding that Orbit 4.3.1 is intended to have a fixed height equal to the height of the tallest content by default. Then by setting variable_height to true it should adjust the height for each slide.
What is happening, however, is that the first slide takes the height of the tallest content and from there on the height adjusts for each slide.
By adding the test for variable_height in a couple of places in the JS, it works the way I believe it is intended.
The followiong applies to foundation.orbit.js version 4.3.1 downloaded from the website:
At line 107, replace
At line 121, replace
Hope this helps,
Thanks for the hint on this. I've made those changes, and added some console logging, and in my case, those lines are never reached.
Line 161, compute_dimensions appears to be where the action is: