Skip to content

Commit

Permalink
Fix doc toc for small screens
Browse files Browse the repository at this point in the history
Only make the toc fixed position for big screens.
  • Loading branch information
felixge authored and ry committed Apr 8, 2010
1 parent 1a9c9b0 commit b544185
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/pipe.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ img {
padding: 5em 0;
}
#toc {
position: fixed;
position: absolute;
top: 2em;
left: 0;
width: 8em;
font-size: 12pt;
line-height: 150%;
}
@media all and (min-height: 650px) { #toc { position: fixed; }}
#toctitle {
display: none;
}
Expand Down

0 comments on commit b544185

Please sign in to comment.