Closed st0012 closed 3 months ago
index.html
I standardized sidebar nav's structure to be:
nav
<nav id="navigation" role="navigation"> <div id="project-navigation"> <%= render '_sidebar_navigation.rhtml' %> <%= render '_sidebar_search.rhtml' %> </div> <!-- if the page originally has it --> <%= render '_sidebar_table_of_contents.rhtml' %> <!-- sidebar content for the page --> <%= render '_footer.rhtml' %> </nav>
And removed unnecessary divs like #project-metadata or #class-metadata as they were never referenced
#project-metadata
#class-metadata
auto
https://github.com/user-attachments/assets/e0a12a60-36d8-40ef-a01e-1fcde8fb995f
index.html
but forgot about other pages. So I added it back to them in this PR.I standardized sidebar
nav
's structure to be:And removed unnecessary divs like
#project-metadata
or#class-metadata
as they were never referencednav
's default overflow setting toauto
so we don't need to make individual elements to be scrollable.Demo
https://github.com/user-attachments/assets/e0a12a60-36d8-40ef-a01e-1fcde8fb995f