sag_components 1.0.19 → 1.0.21

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.
@@ -49,10 +49,10 @@ var OneColumnContainer = function OneColumnContainer(_ref) {
49
49
  }, /*#__PURE__*/_react.default.createElement("div", {
50
50
  ref: nodeRef,
51
51
  style: {
52
- width: "fit-content",
53
- height: "fit-content"
52
+ width: "100%",
53
+ height: "100%"
54
54
  }
55
- }, children), /*#__PURE__*/_react.default.createElement(_OneColumnContainer.InfoTextContainer, {
55
+ }, children, /*#__PURE__*/_react.default.createElement(_OneColumnContainer.InfoTextContainer, {
56
56
  clicked: clicked,
57
57
  width: width,
58
58
  height: height
@@ -60,7 +60,7 @@ var OneColumnContainer = function OneColumnContainer(_ref) {
60
60
  onClick: onInfoClick
61
61
  }, /*#__PURE__*/_react.default.createElement(_InfoIcon.InfoIcon, {
62
62
  clicked: clicked
63
- })));
63
+ }))));
64
64
  };
65
65
  exports.OneColumnContainer = OneColumnContainer;
66
66
  OneColumnContainer.defaultProps = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -17,25 +17,27 @@ export const OneColumnContainer = ({ children,nodeRef,itemClass,overStyle,draggi
17
17
  }
18
18
 
19
19
  return (
20
+
20
21
  <StyledContainer className={classNames(
21
22
  itemClass,
22
23
  overStyle,
23
24
  draggingStyle,
24
25
  droppedStyle
25
26
  )} width={width} height={height}>
26
- <div ref={nodeRef} style={{
27
- width: "fit-content",
28
- height: "fit-content"
29
- }}>
27
+ <div ref={nodeRef} style={{
28
+ width: "100%",
29
+ height: "100%"
30
+ }}>
30
31
  {children}
31
- </div>
32
32
  <InfoTextContainer clicked={clicked} width={width} height={height}>
33
33
  <InfoTextLabel>{infoText}</InfoTextLabel>
34
34
  </InfoTextContainer>
35
35
  <IconContainer onClick={onInfoClick}>
36
36
  <InfoIcon clicked={clicked} />
37
37
  </IconContainer>
38
+ </div>
38
39
  </StyledContainer>
40
+
39
41
  );
40
42
  };
41
43