sag_components 1.0.16 → 1.0.18

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.
@@ -47,7 +47,11 @@ var OneColumnContainer = function OneColumnContainer(_ref) {
47
47
  width: width,
48
48
  height: height
49
49
  }, /*#__PURE__*/_react.default.createElement("div", {
50
- ref: nodeRef
50
+ ref: nodeRef,
51
+ style: {
52
+ width: fit - content,
53
+ height: fit - content
54
+ }
51
55
  }, children), /*#__PURE__*/_react.default.createElement(_OneColumnContainer.InfoTextContainer, {
52
56
  clicked: clicked,
53
57
  width: width,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -22,8 +22,11 @@ export const OneColumnContainer = ({ children,nodeRef,itemClass,overStyle,draggi
22
22
  overStyle,
23
23
  draggingStyle,
24
24
  droppedStyle
25
- )} width={width} height={height}>
26
- <div ref={nodeRef}>
25
+ )} width={width} height={height}>
26
+ <div ref={nodeRef} style={{
27
+ width: fit-content,
28
+ height: fit-content
29
+ }}>
27
30
  {children}
28
31
  </div>
29
32
  <InfoTextContainer clicked={clicked} width={width} height={height}>