Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sticky sidebar live well with short content #2514

Merged
merged 1 commit into from
Jun 3, 2020

Conversation

iBug
Copy link
Collaborator

@iBug iBug commented May 1, 2020

This is an enhancement or feature.

Currently, with sticky (left) sidebar enabled, the footer is pushed down beyond the first screen plus the height of the header area, which may be visually unintuitive. This PR changes the forced height into max-height for a better look in this case.

  • Before: image (Look! Scrollbar!)
  • After: image (Note: No scrollbar on the right)

Tested with Chrome 81 (Windows 10 & macOS Catalina), Firefox 74, and Edge 44. Here's a live page on my website with this patch included.

@mmistakes mmistakes merged commit a3d1d90 into mmistakes:master Jun 3, 2020
@iBug iBug deleted the sticky-sidebar-height branch June 3, 2020 04:00
jesuswasrasta pushed a commit to jesuswasrasta/jesuswasrasta.github.io that referenced this pull request Jul 8, 2020
mzaffran pushed a commit to mzaffran/mzaffran.github.io that referenced this pull request Jan 4, 2021
kaitokikuchi pushed a commit to kaitokikuchi/kaitokikuchi.github.io that referenced this pull request Sep 4, 2023
chukycheese pushed a commit to chukycheese/chukycheese.github.io that referenced this pull request Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants