rtfpessoa / diff2html

Pretty diff to html javascript library (diff2html)
https://diff2html.xyz
MIT License
2.8k stars 273 forks source link

Precise widths for `code-line` and `code-side-line` #482

Closed grimsteel closed 1 year ago

grimsteel commented 1 year ago

The widths of these are now calculated based on 100% minus the horizontal padding.

This prevents unnecessary overflow on the table

This is a better fix for #461

rtfpessoa commented 1 year ago

LGTM Thank you for the contribution