react-code-diff icon indicating copy to clipboard operation
react-code-diff copied to clipboard

文本代码比较组件

Results 8 react-code-diff issues
Sort by recently updated
recently updated
newest added

我就说怎么死活装不上

更改过多想要给盒子添加overflow: scroll的效果时发现,如果仅仅添加overflow那么左侧的数字框不会隐藏,需要添加position:relative属性,据我观察是因为行号的元素使用了absolute ```html ``` ```less .diffWraper { max-height: 400px; overflow-y: auto; position: relative; // 必须有,否则出问题 } ```

![image](https://user-images.githubusercontent.com/26354664/77279230-45fd2d80-6cfc-11ea-9a45-78af451c3e03.png)

![image](https://user-images.githubusercontent.com/8457027/92210058-a35af480-eec0-11ea-8e09-09540e1ff109.png) c写成v了,仿照写的时候研究了半天才发现这里错了