Skip to content

Commit

Permalink
Merge pull request #838 from ybiquitous/scrollable-sidebar
Browse files Browse the repository at this point in the history
Scrollable sidebar
  • Loading branch information
nobu committed Mar 11, 2022
2 parents 98b4e65 + 4d52e24 commit c858be4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/rdoc/generator/template/darkfish/css/rdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ nav {
font-family: Helvetica, sans-serif;
font-size: 14px;
border-right: 1px solid #ccc;
position: sticky;
top: 0;
overflow: auto;
height: calc(100vh - 100px); /* reduce the footer height */
}

main {
Expand Down

0 comments on commit c858be4

Please sign in to comment.