datastake-daf 0.6.260 → 0.6.261

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.
@@ -15963,6 +15963,7 @@ function Widget(_ref) {
15963
15963
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
15964
15964
  className: "flex flex-row widget-header-items",
15965
15965
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
15966
+ className: "content-wrapper",
15966
15967
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
15967
15968
  className: "title cont",
15968
15969
  children: /*#__PURE__*/jsxRuntime.jsx("h1", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.260",
3
+ "version": "0.6.261",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -133,6 +133,18 @@
133
133
  }
134
134
  }
135
135
 
136
+ .content-wrapper {
137
+ display: flex;
138
+ flex-direction: column;
139
+ justify-content: center;
140
+ }
141
+
142
+ .content-wrapper h1,
143
+ .content-wrapper .description {
144
+ text-align: start;
145
+ margin: 0;
146
+ }
147
+
136
148
  .widget-body {
137
149
  flex: 1;
138
150
  padding: 0px var(--size-lg) var(--size-lg) var(--size-lg);
@@ -81,12 +81,12 @@ export default function Widget({
81
81
  {!noTitle && (
82
82
  <div className="widget-header flex-column">
83
83
  <div className="flex flex-row widget-header-items">
84
- <div>
85
- <div className="title cont">
86
- <h1>{title}</h1>
87
- </div>
88
- {description && <Paragraph className="description">{description}</Paragraph>}
84
+ <div className="content-wrapper">
85
+ <div className="title cont">
86
+ <h1>{title}</h1>
89
87
  </div>
88
+ {description && <Paragraph className="description">{description}</Paragraph>}
89
+ </div>
90
90
 
91
91
  {tooltip && (
92
92
  <div className="cont icon-cont">