Skip to content

Commit

Permalink
added an example to the demo docs and configured it to use sticky nav…
Browse files Browse the repository at this point in the history
… for the demo to work
  • Loading branch information
cloudops-wstevens authored and ericholscher committed Mar 9, 2015
1 parent c6f7a17 commit 2f3c5df
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 2 deletions.
1 change: 1 addition & 0 deletions demo_docs/source/index.rst
Expand Up @@ -17,6 +17,7 @@ Contents:

demo
list
long

Maaaaath!
=========
Expand Down
124 changes: 124 additions & 0 deletions demo_docs/source/long.rst
@@ -0,0 +1,124 @@
Long Sticky Nav
===============

This section demonstrates how the 'sticky_navigation' setting behaves when the menu is very long. When this section is selected, it will make the menu and the main area scroll when you are at the top of the page.


Example Menu 1
--------------

Just a place holder...


Example Menu 2
--------------

Just a place holder...


Example Menu 3
--------------

Just a place holder...


Example Menu 4
--------------

Just a place holder...


Example Menu 5
--------------

Just a place holder...


Example Menu 6
--------------

Just a place holder...


Example Menu 7
--------------

Just a place holder...


Example Menu 8
--------------

Just a place holder...


Example Menu 9
--------------

Just a place holder...


Example Menu 10
---------------

Just a place holder...


Example Menu 11
---------------

Just a place holder...


Example Menu 12
---------------

Just a place holder...


Example Menu 13
---------------

Just a place holder...


Example Menu 14
---------------

Just a place holder...


Example Menu 15
---------------

Just a place holder...


Example Menu 16
---------------

Just a place holder...


Example Menu 17
---------------

Just a place holder...


Example Menu 18
---------------

Just a place holder...


Example Menu 19
---------------

Just a place holder...


Example Menu 20
---------------

Just a place holder...
7 changes: 5 additions & 2 deletions sass/_theme_layout.sass
Expand Up @@ -299,5 +299,8 @@ footer
margin-left: 0

nav.stickynav
position: fixed
top: 0
position:fixed
top:0
bottom:0
overflow-x:hidden
overflow-y:hidden

0 comments on commit 2f3c5df

Please sign in to comment.