Skip to content

Commit

Permalink
Merge pull request #518 from JeroenVdb/support-shadow-dom
Browse files Browse the repository at this point in the history
css: target both :root and :host to also cover usage in shadow DOM
  • Loading branch information
rtfpessoa authored Dec 15, 2023
2 parents 99b7757 + 7005ced commit 363b619
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/css/diff2html.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
*
*/

:root {
:root,
:host {
--d2h-bg-color: #fff;
--d2h-border-color: #ddd;

Expand Down

0 comments on commit 363b619

Please sign in to comment.