Skip to content

Commit 363b619

Browse files
authored
Merge pull request #518 from JeroenVdb/support-shadow-dom
css: target both :root and :host to also cover usage in shadow DOM
2 parents 99b7757 + 7005ced commit 363b619

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ui/css/diff2html.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
*
66
*/
77

8-
:root {
8+
:root,
9+
:host {
910
--d2h-bg-color: #fff;
1011
--d2h-border-color: #ddd;
1112

0 commit comments

Comments
 (0)