The gutter width formula was calibrated for the diff pane's 12px font, so 3-digit numbers wrapped to two lines in the file preview's 14px gutter. Parameterize on font size and add numberOfLines={1} as a guard.