@rpg-engine/long-bow 0.3.27 → 0.3.29

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.
@@ -32723,7 +32723,7 @@ var Chat = function Chat(_ref) {
32723
32723
  _ref$width = _ref.width,
32724
32724
  width = _ref$width === void 0 ? '80%' : _ref$width,
32725
32725
  _ref$height = _ref.height,
32726
- height = _ref$height === void 0 ? '250px' : _ref$height,
32726
+ height = _ref$height === void 0 ? 'auto' : _ref$height,
32727
32727
  onFocus = _ref.onFocus,
32728
32728
  onBlur = _ref.onBlur,
32729
32729
  _ref$color = _ref.color,
@@ -32777,7 +32777,9 @@ var Chat = function Chat(_ref) {
32777
32777
  height: height
32778
32778
  }, React__default.createElement(reactErrorBoundary.ErrorBoundary, {
32779
32779
  fallback: React__default.createElement("p", null, "Oops! Your chat has crashed.")
32780
- }, React__default.createElement(MessagesContainer, null, onRenderChatMessages(chatMessages)), React__default.createElement(Form, {
32780
+ }, React__default.createElement(MessagesContainer, {
32781
+ className: "chat-body"
32782
+ }, onRenderChatMessages(chatMessages)), React__default.createElement(Form, {
32781
32783
  onSubmit: handleSubmit
32782
32784
  }, React__default.createElement(Column, {
32783
32785
  flex: 70
@@ -32808,7 +32810,7 @@ var Chat = function Chat(_ref) {
32808
32810
  var ChatContainer = /*#__PURE__*/styled.div.withConfig({
32809
32811
  displayName: "Chat__ChatContainer",
32810
32812
  componentId: "sc-1bk05n6-0"
32811
- })(["height:", ";width:", ";padding:10px;margin-top:100px;background-color:rgba(0,0,0,0.2);"], function (props) {
32813
+ })(["height:", ";width:", ";padding:10px;background-color:rgba(0,0,0,0.2);height:auto;"], function (props) {
32812
32814
  return props.height;
32813
32815
  }, function (_ref3) {
32814
32816
  var width = _ref3.width;
@@ -32821,7 +32823,7 @@ var TextField = /*#__PURE__*/styled.input.withConfig({
32821
32823
  var MessagesContainer = /*#__PURE__*/styled.div.withConfig({
32822
32824
  displayName: "Chat__MessagesContainer",
32823
32825
  componentId: "sc-1bk05n6-2"
32824
- })(["overflow-y:scroll;height:70%;margin-bottom:10px;"]);
32826
+ })(["height:70%;margin-bottom:10px;.chat-body{max-height:auto;overflow-y:auto;}"]);
32825
32827
  var Message = /*#__PURE__*/styled.div.withConfig({
32826
32828
  displayName: "Chat__Message",
32827
32829
  componentId: "sc-1bk05n6-3"