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.
Hi Alex,
We were encountering some strange behaviors with the collapsed sidebar. First, let me explain the desired sidebar behavior back to you and see if I understand it correctly:
There are two body classes of importance when dealing with the collapsed sidebar:
collapse-sidebar
: Indicates that the sidebar is currently collapsed, meaning that it is now shown in the footer and not on the right side. This can happen when the page is sized or resized to a smaller width, by clicking the sidebar toggler, or by settingsidebar: collapse
in the config file.sidebar-footer
: Indicates that the sidebar should be permanently shown in the footer. The sidebar toggler does not appear.Now here are the behaviors that I was seeing:
sidebar: collapse
in the config file (which setssidebar-footer
on the body), the collapsed sidebar has no padding.There are two problems that I see:
This PR fixes both. Let me know if that is not your preference. By the way, I tested this with a default Octopress master branch, not just with our site.
Sorry this got a little long. Took me a while to figure out and I wanted to explain it clearly.