The goal is to align the bulk-select menu toggle relative to the content rather than the viewport as discussed here: https://meta.discourse.org/t/better-bulk-select-wrench-icon-placement/141396
I’m grabbing the padding on the top of
#main-outlet so I can set the
top value for
position:sticky;… this should ensure that if the header height is increased/decreased the button would still align with the content (because the padding would also need to be increased/decreased).
Also checking for
position: sticky support in the CSS and falling back to the current implementation if it’s not.