Repository navigation
Fix bug preventing recalc on window resize
This fixes a bug that was introduced here 71a61ef#diff-168726dbe96b3ce427e7fedce31bb0bcL85 which was preventing the max-height from updating on window resize when the component was collapsed.