@rpg-engine/long-bow 0.1.73 → 0.1.74

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.
@@ -355,7 +355,9 @@ var DraggableContainer = function DraggableContainer(_ref) {
355
355
  };
356
356
  }, []);
357
357
  return React__default.createElement(DraggableRef, {
358
- ref: draggableRef
358
+ ref: draggableRef,
359
+ width: width,
360
+ height: height || 'auto'
359
361
  }, React__default.createElement(Draggable, {
360
362
  cancel: ".container-close," + cancelDrag,
361
363
  onDrag: function onDrag(_e, data) {
@@ -384,14 +386,19 @@ var DraggableContainer = function DraggableContainer(_ref) {
384
386
  var DraggableRef = /*#__PURE__*/styled.div.withConfig({
385
387
  displayName: "DraggableContainer__DraggableRef",
386
388
  componentId: "sc-184mpyl-0"
387
- })(["width:100%;height:100%;display:flex;justify-content:center;align-items:center;"]);
389
+ })(["height:", ";width:", ";"], function (props) {
390
+ return props.height;
391
+ }, function (_ref2) {
392
+ var width = _ref2.width;
393
+ return width;
394
+ });
388
395
  var Container$2 = /*#__PURE__*/styled.div.withConfig({
389
396
  displayName: "DraggableContainer__Container",
390
397
  componentId: "sc-184mpyl-1"
391
398
  })(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;&.rpgui-container{padding-top:1.5rem;}"], function (props) {
392
399
  return props.height;
393
- }, function (_ref2) {
394
- var width = _ref2.width;
400
+ }, function (_ref3) {
401
+ var width = _ref3.width;
395
402
  return width;
396
403
  });
397
404
  var CloseButton$1 = /*#__PURE__*/styled.div.withConfig({