You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, react-diff-viewer inserts the <style> tag to render CSS styles, but in some cases (such as Micro-Frontends, I'm using qiankun framework), the code styles will be lost:
So I think above problem can be solved by inline CSS styles, or put the styles to .css file. This is a valid guess, for example, react-codemirror2 with similar functions is put CSS styles to .css files, and its style is normal.
Totally, I hope react-diff-viewer can support multiple way to render CSS styles, instead of only <style> tag.
The text was updated successfully, but these errors were encountered:
Firstly,
react-diff-viewer
inserts the<style>
tag to render CSS styles, but in some cases (such as Micro-Frontends, I'm using qiankun framework), the code styles will be lost:So I think above problem can be solved by inline CSS styles, or put the styles to
.css
file. This is a valid guess, for example, react-codemirror2 with similar functions is put CSS styles to.css
files, and its style is normal.Totally, I hope
react-diff-viewer
can support multiple way to render CSS styles, instead of only<style>
tag.The text was updated successfully, but these errors were encountered: