@ammarkhalidfarooq/dashboard-package 0.4.28 → 0.4.30

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.
package/dist/index.es.js CHANGED
@@ -2609,14 +2609,16 @@ var ActiveCampaignsCard = function ActiveCampaignsCard(_ref) {
2609
2609
  _ref$rows = _ref.rows,
2610
2610
  rows = _ref$rows === void 0 ? [] : _ref$rows,
2611
2611
  _ref$gridTemplateColu = _ref.gridTemplateColumns,
2612
- gridTemplateColumns = _ref$gridTemplateColu === void 0 ? "3fr 1fr 1.5fr 0.8fr 1fr " : _ref$gridTemplateColu;
2612
+ gridTemplateColumns = _ref$gridTemplateColu === void 0 ? "3fr 1fr 1.5fr 0.8fr 1fr " : _ref$gridTemplateColu,
2613
+ height = _ref.height;
2613
2614
  return /*#__PURE__*/jsxs(Box, {
2614
2615
  sx: {
2615
2616
  bgcolor: "#fff",
2616
2617
  borderRadius: 4,
2617
2618
  border: "1px solid #f0f0f0",
2618
2619
  boxShadow: "0 4px 24px rgba(0,0,0,0.06)",
2619
- p: 3
2620
+ p: 3,
2621
+ height: height
2620
2622
  // height: "100%",
2621
2623
  },
2622
2624
  children: [/*#__PURE__*/jsx(Box, {
@@ -5920,13 +5922,15 @@ var PaidSection = function PaidSection() {
5920
5922
  xs: 12,
5921
5923
  md: 6,
5922
5924
  sx: {
5923
- paddingTop: "0px !important"
5925
+ paddingTop: "0px !important",
5926
+ minHeight: "430px"
5924
5927
  },
5925
5928
  children: /*#__PURE__*/jsx(ActiveCampaignsCard, {
5926
5929
  title: "Channel performance",
5927
5930
  subtitle: "Ad platforms ranked by ROAS",
5928
5931
  columns: ["channel", "spend", "revenue", "ROAS", "CPA", "trend"],
5929
5932
  gridTemplateColumns: "2.2fr 1fr 1fr 0.8fr 0.8fr 1.2fr",
5933
+ height: "100%",
5930
5934
  rows: [{
5931
5935
  id: "M",
5932
5936
  avatarBg: "#4267B2",
@@ -6033,7 +6037,8 @@ var PaidSection = function PaidSection() {
6033
6037
  }],
6034
6038
  showBottomSummary: false,
6035
6039
  sx: {
6036
- pb: 3.5
6040
+ pb: 3.5,
6041
+ height: "100%"
6037
6042
  }
6038
6043
  })
6039
6044
  })]