@aclymatepackages/modules 1.0.24 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,7 +30,8 @@ const ReportGraphContentLayout = _ref => {
30
30
  spacing: 2
31
31
  }, /*#__PURE__*/_react.default.createElement(_material.Grid, {
32
32
  item: true,
33
- sm: 4,
33
+ md: 4,
34
+ xs: 12,
34
35
  container: true,
35
36
  direction: "column",
36
37
  spacing: 2
@@ -43,7 +44,8 @@ const ReportGraphContentLayout = _ref => {
43
44
  key: "content-row-".concat(idx)
44
45
  }, row))), /*#__PURE__*/_react.default.createElement(_material.Grid, {
45
46
  item: true,
46
- sm: 8
47
+ md: 8,
48
+ xs: 12
47
49
  }, /*#__PURE__*/_react.default.createElement(_EmissionsChart.default, {
48
50
  dataArray: emissions,
49
51
  type: chartType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aclymatepackages/modules",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "Aclymate modules",
5
5
  "author": "William Loopesko",
6
6
  "main": "dist/index.js",
@@ -19,7 +19,7 @@ const ReportGraphContentLayout = ({
19
19
  return (
20
20
  <Box style={{ height: height || "auto" }}>
21
21
  <Grid container spacing={2}>
22
- <Grid item sm={4} container direction="column" spacing={2}>
22
+ <Grid item md={4} xs={12} container direction="column" spacing={2}>
23
23
  <Grid item>
24
24
  <Typography variant="subtitle1">{contentTitle}</Typography>
25
25
  </Grid>
@@ -29,13 +29,13 @@ const ReportGraphContentLayout = ({
29
29
  </Grid>
30
30
  ))}
31
31
  </Grid>
32
- <Grid item sm={8}>
32
+ <Grid item md={8} xs={12}>
33
33
  <EmissionsChart
34
34
  dataArray={emissions}
35
35
  type={chartType}
36
36
  viewMode={chartViewMode}
37
37
  graphPeriod={interval}
38
- displayUnit={"tons"}
38
+ displayUnit="tons"
39
39
  unitConverter={(tons) => tons}
40
40
  aspect={2}
41
41
  isPercentageChart={isPercentageChart}