openam / bootstrap-responsive-tabs

Bootstrap responsive tabs are tabs that switch to collapsible components (accordions) when resized.
openam.github.io/bootstrap-responsive-tabs
MIT License
132 stars 60 forks source link

Change breakpoint to 1024 for tabs #34

Closed Sushil-Dhiver closed 9 years ago

Sushil-Dhiver commented 9 years ago

Hi. is there any way to change the breakpoint? right now the accordion is visible when the width is 992px or less. can this be changed? I am having around 10 tabs in my page and when I try to view it in an Ipad in landscape mode, it doesn't show me the accordion. is there a way to set it somewhere?

openam commented 9 years ago

No, the breakpoint correspond to the breakpoints defined in the bootstrap grid layout. You can change which breakpoint it uses by changing what it's started with, e.g. fakewaffle.responsiveTabs(['xs', 'sm']); vs fakewaffle.responsiveTabs(['xs', 'sm', 'md']);, which would make accordions for anything < 1200px.

Sushil-Dhiver commented 9 years ago

oh. great. thank you very much :+1: