jQuery-EasyTabs icon indicating copy to clipboard operation
jQuery-EasyTabs copied to clipboard

Fixed Box Size

Open under-score opened this issue 11 years ago • 2 comments

With multiple instances of EasyTabs on one page it would be preferable to keep panel-container height fixed but I couldn't find how to manage that ... Thanks!

under-score avatar Feb 10 '14 08:02 under-score

It depends upon how you want to do it. The easiest way is via CSS. I managed to do this by setting the main div container (defined with the CSS tag tab-container) to a fixed height. But, you then have to also set the overflow, otherwise you will have text that overflows the container.

There are some other things you will need to tweak to make it aesthetically to your pleasing, depending upon your use case. I created a fiddle for you to review and play with if you so wish:

http://jsfiddle.net/Bratzilla/6xrgL/13/

Bratzilla avatar Feb 11 '14 02:02 Bratzilla

It depends upon how you want to do it. The easiest way is via CSS. I managed to do this by setting the main div container (defined with the CSS tag tab-container) to a fixed height. But, you then have to also set the overflow, otherwise you will have text that overflows the container. There are some other things you will need to tweak to make it aesthetically to your pleasing, depending upon your use case. I created a fiddle for you to review and play with if you so wish: http://jsfiddle.net/Bratzilla/6xrgL/13/

thank so much! I tried that solution too, but missed the !important tag.

under-score avatar Feb 11 '14 07:02 under-score