rtfpessoa / diff2html

Pretty diff to html javascript library (diff2html)
https://diff2html.xyz
MIT License
2.9k stars 280 forks source link

css: target both :root and :host to also cover usage in shadow DOM #518

Closed JeroenVdb closed 9 months ago

JeroenVdb commented 11 months ago

Inside shadow DOM :root can't be targeted, so :host should be used here for those cases.

Solves issues #517

rtfpessoa commented 9 months ago

LGTM 🙇 for the contribution