Skip to content

Commit ab3ec57

Browse files
committed
Fixed the scrolling issue on the tutorials home page
1 parent 9493ef2 commit ab3ec57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorials/themes/tutorials-theme/layout.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
{%- macro bsidebar() %}
3535
{%- if render_sidebar %}
36-
<div class="{{ bs_span_prefix }}3" style="padding-left: 0px;">
37-
<div id="sidebar" class="bs-sidenav card" role="complementary">
36+
<div class="{{ bs_span_prefix }}3">
37+
<div id="sidebar" class="bs-sidenav card" role="complementary" style="position: static !important;" >
3838
{%- for sidebartemplate in sidebars %}
3939
{%- include sidebartemplate %}
4040
{%- endfor %}
@@ -84,7 +84,7 @@
8484
{% endif %}
8585

8686
{% if pagename != "search" and pagename != "index" and pagename != "tutorials" and pagename != "documentation" and pagename != "examples" and pagename != "guides" %}
87-
<div class="{{ bs_span_prefix }}3" style="padding-left: 0px;">
87+
<div class="{{ bs_span_prefix }}3">
8888
<div id="sidebar" class="bs-sidenav card" role="complementary">
8989
<h3>Table of contents</h3>
9090
{{toc}}

0 commit comments

Comments
 (0)