Skip to content

Commit

Permalink
Fix auto scrolling on overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Apr 20, 2017
1 parent 8d00411 commit 7d01ffc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _scss/_layout.scss
Expand Up @@ -187,7 +187,7 @@ section.section {
position: -webkit-sticky;
position: sticky;
top: 55px;
overflow-y: scroll;
overflow: auto;
max-height: calc(100vh - 55px);
padding-top: 20px;
padding-bottom: 20px;
Expand Down
4 changes: 1 addition & 3 deletions _scss/_navigation.scss
Expand Up @@ -173,8 +173,7 @@
.toc-nav ul {
list-style: none;
margin: 0;
padding: 0 60px 0 0;
width: 300px;
padding-left: 0;
line-height: 24px;
li {
padding: 2px 8px 2px 15px;
Expand Down Expand Up @@ -209,7 +208,6 @@ div#side-toc-title {
font-size: 12px;
font-weight: bold;
margin: 11px 0 10px 13px;
width: 100%;
}

.edit {
Expand Down

0 comments on commit 7d01ffc

Please sign in to comment.