Skip to content

Commit

Permalink
improve python api website ux - make toc sticky (apache#18863)
Browse files Browse the repository at this point in the history
  • Loading branch information
ys2843 authored Aug 5, 2020
1 parent 0f65ef6 commit a78f137
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/python_docs/themes/mx-theme/mxtheme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

.dropdown-caret {
width: 18px;
height: 54px;
}

.dropdown-caret-path {
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@
display: none;
}
&--content {
position: fixed;
position: sticky;
overflow-x: auto;
overflow-y: auto;
width: inherit;
right: 0px;
top: 80px;
&::-webkit-scrollbar {
width: 6px;
}
Expand Down

0 comments on commit a78f137

Please sign in to comment.