File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
core/src/main/java/org/jsmart/zerocode/core/constants Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ public interface ZeroCodeReportConstants {
2222 String CHARTS_AND_CSV = "gen-smart-charts-csv-reports" ;
2323
2424 // Custom js and css for extent report
25- String EXTENT_ADDITIONAL_JS = "document.write('<div id=\" theme-selector\" onClick=$(\" body\" ).toggleClass(\" dark\" )><span><i class=\" fa fa-desktop\" ></i></span></div>')" ;
26- String EXTENT_ADDITIONAL_CSS = "#theme-selector{cursor:pointer;position:fixed;bottom:10px;left:25px;z-index:9999;}" ;
25+ String EXTENT_ADDITIONAL_JS = "document.querySelector('.vheader').insertAdjacentHTML('afterbegin'," +
26+ "'<div id=\" theme-selector\" class=\" nav-right\" onClick=$(\" body\" ).toggleClass(\" dark\" )>" +
27+ "<span class=\" badge badge-primary\" ><i class=\" fa fa-desktop\" ></i></span></div>')" ;
28+ String EXTENT_ADDITIONAL_CSS = "#theme-selector{margin-right:15px}" ;
2729}
You can’t perform that action at this time.
0 commit comments