Repository navigation
Fix sidebar scroll again and add missing footer back - #1154
Merged
Merged
Conversation
In #1152 the footer partial was only added to the index.rhtml file. This commit adds the footer partial to the other template files.
st0012
force-pushed
the
fix-sidebar-scroll-2
branch
from
August 15, 2024 11:42
1d3fb37 to
3710ba6
Compare
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.
st0012
force-pushed
the
fix-sidebar-scroll-2
branch
from
August 15, 2024 11:55
3710ba6 to
f76e721
Compare
colby-swandale
approved these changes
Aug 15, 2024
matzbot
pushed a commit
to ruby/ruby
that referenced
this pull request
Aug 15, 2024
(ruby/rdoc#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. ruby/rdoc@b8c2bcd8db
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
index.htmlbut forgot about other pages. So I added it back to them in this PR.nav's structure to be:#project-metadataor#class-metadataas they were never referencednav's default overflow setting toautoso we don't need to make individual elements to be scrollable.Demo
Screen.Recording.2024-08-15.at.12.55.56.mov