diff options
author | Stan Lo <[email protected]> | 2024-08-15 14:30:58 +0100 |
---|---|---|
committer | git <[email protected]> | 2024-08-15 13:33:00 +0000 |
commit | 923e36ab21f4866dd5087d1f9443cb3e1c43d2c4 (patch) | |
tree | 186bebf5f6d3e85e302b575e0dd730ab62e8742b /lib/rdoc/generator/template/darkfish/servlet_root.rhtml | |
parent | 2a933609e75aa87f27cf1c892a54389d3efed928 (diff) |
[ruby/rdoc] Fix sidebar scroll again and add missing footer back
(https://github.com/ruby/rdoc/pull/1154)
* Add missing footers
In #1152 the footer partial was only added to the index.rhtml file.
This commit adds the footer partial to the other template files.
* Remove unnecessary middle divs in nav
* Simplify sidebar's overflow settings
Because sidebar needs to be scrollable, its overflow should default to auto.
Currently it's set to hidden and force individual elements to set overflow auto,
which overcomplicates things.
https://github.com/ruby/rdoc/commit/b8c2bcd8db
Diffstat (limited to 'lib/rdoc/generator/template/darkfish/servlet_root.rhtml')
-rw-r--r-- | lib/rdoc/generator/template/darkfish/servlet_root.rhtml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rdoc/generator/template/darkfish/servlet_root.rhtml b/lib/rdoc/generator/template/darkfish/servlet_root.rhtml index 859ce2930b..373e0006d9 100644 --- a/lib/rdoc/generator/template/darkfish/servlet_root.rhtml +++ b/lib/rdoc/generator/template/darkfish/servlet_root.rhtml @@ -12,7 +12,8 @@ <%= render '_sidebar_search.rhtml' %> </div> -<%= render '_sidebar_installed.rhtml' %> + <%= render '_sidebar_installed.rhtml' %> + <%= render '_footer.rhtml' %> </nav> <main role="main"> |