Refactor out the code for centering diff collapse buttons
Review Request #8444 — Created Sept. 27, 2016 and submitted — Latest diff uploaded
The code for centering diff collapse buttons has been refactored into the
RB.CenteredElementManager
. This view centres a set of elements within
their respective container elements.
Verified the collapsable diff context and diff viewer collapse buttons
still centred correctly.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
reviewboard/staticbundles.py |
---|
reviewboard/static/rb/js/diffviewer/views/diffReviewableView.js |
---|
reviewboard/static/rb/js/ui/views/centeredElementManager.es6.js |
---|
reviewboard/static/rb/js/views/diffFragmentQueueView.js |
---|