vtimbuc / bootstrap-responsive-tabs

"Bootstrap Responsive Tabs" is a simple jQuery plugin that switches the default bootstrap tabs to accordions on the viewports that you choose to.
http://vtimbuc.github.io/bootstrap-responsive-tabs/
35 stars 37 forks source link

Active accordion header visible on tabs #9

Open slacto opened 7 years ago

slacto commented 7 years ago

In bootstrap navs.less this style creates problems: .tab-content {

.active { display: block; } }

It is surpresses display: none: .responsive-tabs-container .accordion-link { display: none; }

A fix to the problem is adding ".tab-content >" like: .responsive-tabs-container .tab-content > .accordion-link { display: none; }

slacto commented 7 years ago

It is the same everywhere you use .accordion-link like .responsive-tabs-container.accordion-lg .tab-content > .accordion-link