Open leomayer opened 5 years ago
@leomayer The green/red background colors aren't showing up in the diff, any advice on how to fix?
For anybody who comes across this problem, its fixed by prepending the element name to the css rule.
<pre semanticDiff [left]="left" [right]="right"></pre>
pre ins {
background: #bbffbb;
}
pre del{
background: #ffbbbb;
}
After some struggle we figured out that the following style sheet might have better results:
Perhaps an update on doc might be useful