react-diff-view
react-diff-view copied to clipboard
Comment on left side on split view shows on the whole length
Comment on left side on split view shows on the whole length - include right side. Is it possible that it shows only on length left side for which it was left? @otakustay
I don't quite understand this, could you attach a screenshot to explain it in detail?
@otakustay Yes, we can see that on README's overview. I don't want that comment, which we leave for left side, is continued on right side (crossed on the screen).
This is not possible natively since a unchanged (normal) line is designed to render widget across both sides, however in your Widget
component, you may try to wrap your content in a div with {width: '50%'}
style on a normal change, it may work, I can try to make such demo later
@otakustay Thanks for answering. Yes, please provide an example when you have time