Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stylesheet - improved #33

Open
leomayer opened this issue Sep 17, 2019 · 2 comments
Open

Stylesheet - improved #33

leomayer opened this issue Sep 17, 2019 · 2 comments

Comments

@leomayer
Copy link

leomayer commented Sep 17, 2019

After some struggle we figured out that the following style sheet might have better results:

ins, ins * {
  background: #bbffbb!important;
}

del, del * {
  background: #ffbbbb!important;
}

Perhaps an update on doc might be useful

@steltz
Copy link

steltz commented May 14, 2020

@leomayer The green/red background colors aren't showing up in the diff, any advice on how to fix?

@Justinm98
Copy link

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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants