Skip to content

Commit

Permalink
docs: fixed sticky issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbin committed Jan 12, 2019
1 parent ee9e5be commit f351afb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/css/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ footer {
}

.sidebar {
position: sticky;
position: -webkit-sticky;
top: 0;
padding-top: 32px;
padding-bottom: 32px;
}

.sidebar > ul {
position: sticky;
position: -webkit-sticky;
top: 32px;
list-style: none;
padding: 0;
margin: 0;
Expand Down
6 changes: 3 additions & 3 deletions docs/sass/docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ $logo-line-height: 4px;
}

.sidebar {
position: sticky;
position: -webkit-sticky;
top: 0;
padding-top: 32px;
padding-bottom: 32px;

> ul {
position: sticky;
position: -webkit-sticky;
top: 32px;
list-style: none;
padding: 0;
margin: 0;
Expand Down

0 comments on commit f351afb

Please sign in to comment.