Fix #2816: Prevent diff viewer on report page from overflowing to be outside the parent modal