aaronlumsden / tabulous.js

A jQuery tabs module for todays web!
http://git.aaronlumsden.com/tabulous.js/
545 stars 187 forks source link

Height doesn't get calculated dynamically #5

Open jswhisperer opened 11 years ago

jswhisperer commented 11 years ago

The height of the tab content area isn't calculated dynamically and often leaves some content hidden or removed.

tmconnect commented 11 years ago

I got the same problem and figured out that this happens because in of my other stylesheets I set box-sizing: border-box; to all.

Changing the box-sizing to content-box to the #tabs_container calculates the correct height for the tabs. I don't know how to change the jQuery file to get this to work with the border-box box model, so I use this solution.

jswhisperer commented 11 years ago

Sounds like a good solve for now, thanks. Maybe the plugin should reassign box-sizing: content-box dynamically to the elements.