Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
Float docs TOC navbar when scrolling (#1994)
Browse files Browse the repository at this point in the history
  • Loading branch information
carolynvs authored and n3wscott committed Apr 27, 2018
1 parent 351a1cf commit 7776226
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions docsite/_sass/_base.sass
Original file line number Diff line number Diff line change
Expand Up @@ -604,17 +604,12 @@ section
overflow: hidden
font-size: 14px


& > div
height: 100%

#docsToc
position: fixed
background-color: white
top: 0
left: 0
width: 0
height: 100vh
overflow: hidden
padding: 50px 0
z-index: 999999
Expand Down
6 changes: 3 additions & 3 deletions docsite/_sass/_desktop.sass
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ $video-section-height: 550px
clear: both

#docsToc
position: relative
float: left
position: fixed
top: 15em
left: 7em
padding: 0 20px
left: 0
width: 350px
z-index: auto

Expand Down

0 comments on commit 7776226

Please sign in to comment.