Closed tnhu closed 1 year ago
It looks like I made a mistake when importing css:
import "diff2html/bundles/css/diff2html.min.css";
import "highlight.js/styles/dark.css";
Change it to
import "highlight.js/styles/dark.css";
import "diff2html/bundles/css/diff2html.min.css";
Then the theme weird rendering issue goes away, but dark theme is not rendered correctly (it renders kind of light colors only).
Strange, regarding the view button, everything seems to be working in the demo
I can try to double check with a local version when I am back in the laptop.
Cannot replicate, if you still face the issue please provide a single HTML file where it can be replicated.
Step -1: Before filling an issue check out troubleshooting section
Step 0: Describe your environment
Step 1: Describe the problem:
Steps to reproduce:
Observed Results:
Expected Results:
Relevant Code:
Look at https://codesandbox.io/s/diff2html-issues-dkur77?file=/src/App.js to reproduce.