Skip to content

Conditionally apply affix override class to sidebar based on window and sidebar height

https://gitlab.com/gitlab-org/gitlab-ce/issues/5535

Checks to see if sidebar height + 70px exceeds window height. Applies overriding css class to force sidebar to have relative positioning if condition met.

Merge request reports