
The line-height is hardcoded to 20px. This value is tightly coupled with the ROW_HEIGHT constant (also 20) in VirtualizedDiffViewer.tsx. If one value changes, the other must be updated as well to ensure correct height calculations. This can be error-prone.
Consider using CSS Custom Properties (variables) to define this value in one place and use it in both CSS and JavaScript. This would make the relationship explicit and easier to maintain.
Originally posted by @gemini-code-assist[bot] in #9 (comment)