This works, but I think we should create a div inside the sticky div, and make that overflow-able. That way we get to keep things clean.
Hmmm, it seems like position: sticky and overflow: auto need to be set on the same element in order for everything to work properly. I've pushed a new commit where I put these attributes on a surrounding div instead of directly on the nav element - please let me know what y'all think!
(Also I realized that in my haste, I completely messed up the mobile styling, so regardless of whether or not we want to keep the changes from commit 6e141dc2c2, I'll probably have to make more changes, oops.)
changed title from Add scrolling to Organized Content sidebar on smaller desktop screens to WIP: Add scrolling to Organized Content sidebar on smaller desktop screens1 year ago