diff --git a/angular.json b/angular.json index 8592d19b..5b1b3c82 100644 --- a/angular.json +++ b/angular.json @@ -41,8 +41,9 @@ "baseHref": "/sl-tech-carbon-estimator/" }, "npm-package": { + "index": {"input": "src/package-index.html", "output": "index.html"}, "assets": [], - "styles": ["src/styles.css"] + "styles": ["src/styles.css", "src/package-styles.css"] }, "development": { "optimization": false, diff --git a/src/app/carbon-estimation/carbon-estimation.constants.ts b/src/app/carbon-estimation/carbon-estimation.constants.ts index 14650504..24c08fa3 100644 --- a/src/app/carbon-estimation/carbon-estimation.constants.ts +++ b/src/app/carbon-estimation/carbon-estimation.constants.ts @@ -24,7 +24,7 @@ const customTooltip = ({ const initialSeries = w.globals.initialSeries[seriesIndex]; const data = initialSeries.data[dataPointIndex]; - return `
+ return `
${data.meta.parent}:
diff --git a/src/app/carbon-estimator-form/carbon-estimator-form.component.html b/src/app/carbon-estimator-form/carbon-estimator-form.component.html index 1594cc93..75175f29 100644 --- a/src/app/carbon-estimator-form/carbon-estimator-form.component.html +++ b/src/app/carbon-estimator-form/carbon-estimator-form.component.html @@ -4,9 +4,7 @@
- +
-