</div>
</section>
</div>
- <div class="section-container tabs" data-section data-options="deep_linking: true; force_tabs: true">
+ <div class="section-container tabs" data-section data-options="deep_linking: true; force_tabs: false">
<section class="section">
<p class="title"><a href="#panel1">Section 1</a></p>
<div class="content" data-slug="panel1">
</div>
</section>
</div>', :html %>
-
+
<h6>Tabs/Accordion</h6>
<p>Adding a <code>tabs</code> class to the section container will enable tabs on large screens and show an accordion on small screens.</p>
<%= code_example '
topbar.parent().removeClass('fixed');
$('body').css('padding-top','0');
window.scrollTo(0);
- } else {
+ } else if (topbar.hasClass('fixed expanded')) {
topbar.parent().addClass('fixed');
$('body').css('padding-top',offst);
}