Aeolun / react-diff-viewer-continued

A simple and beautiful text diff viewer component made with Diff and React.
https://aeolun.github.io/react-diff-viewer-continued/
MIT License
113 stars 34 forks source link

diff not on a same line #25

Closed TipicultBiomassa closed 1 year ago

TipicultBiomassa commented 1 year ago

First image is how it looks on my page and second is how it looks on your website. Why on my page diff is not on the same line

image image
Aeolun commented 1 year ago

@TipicultBiomassa The only difference I see here is the extra gutter that the one on the website has. Could you post your code here so I can investigate when I get the chance?

TipicultBiomassa commented 1 year ago

@TipicultBiomassa The only difference I see here is the extra gutter that the one on the website has. Could you post your code here so I can investigate when I get the chance?

Looks like webpack in our project installed version diff version 1.0.8. Installed diff version 5.1.0 and now it's fine.