@rpg-engine/long-bow 0.3.26 → 0.3.28
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.
- package/dist/long-bow.cjs.development.js +5 -3
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +5 -3
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Chat/Chat.tsx +5 -2
package/dist/long-bow.esm.js
CHANGED
|
@@ -32771,7 +32771,9 @@ var Chat = function Chat(_ref) {
|
|
|
32771
32771
|
height: height
|
|
32772
32772
|
}, React.createElement(ErrorBoundary$1, {
|
|
32773
32773
|
fallback: React.createElement("p", null, "Oops! Your chat has crashed.")
|
|
32774
|
-
}, React.createElement(MessagesContainer,
|
|
32774
|
+
}, React.createElement(MessagesContainer, {
|
|
32775
|
+
className: "chat-body"
|
|
32776
|
+
}, onRenderChatMessages(chatMessages)), React.createElement(Form, {
|
|
32775
32777
|
onSubmit: handleSubmit
|
|
32776
32778
|
}, React.createElement(Column, {
|
|
32777
32779
|
flex: 70
|
|
@@ -32802,7 +32804,7 @@ var Chat = function Chat(_ref) {
|
|
|
32802
32804
|
var ChatContainer = /*#__PURE__*/styled.div.withConfig({
|
|
32803
32805
|
displayName: "Chat__ChatContainer",
|
|
32804
32806
|
componentId: "sc-1bk05n6-0"
|
|
32805
|
-
})(["height:", ";width:", ";padding:10px;margin-top:100px;background-color:rgba(0,0,0,0.2);"], function (props) {
|
|
32807
|
+
})(["height:", ";width:", ";padding:10px;margin-top:100px;background-color:rgba(0,0,0,0.2);.chat-body{max-height:170px;overflow-y:auto;}"], function (props) {
|
|
32806
32808
|
return props.height;
|
|
32807
32809
|
}, function (_ref3) {
|
|
32808
32810
|
var width = _ref3.width;
|
|
@@ -32815,7 +32817,7 @@ var TextField = /*#__PURE__*/styled.input.withConfig({
|
|
|
32815
32817
|
var MessagesContainer = /*#__PURE__*/styled.div.withConfig({
|
|
32816
32818
|
displayName: "Chat__MessagesContainer",
|
|
32817
32819
|
componentId: "sc-1bk05n6-2"
|
|
32818
|
-
})(["
|
|
32820
|
+
})(["height:70%;margin-bottom:10px;"]);
|
|
32819
32821
|
var Message = /*#__PURE__*/styled.div.withConfig({
|
|
32820
32822
|
displayName: "Chat__Message",
|
|
32821
32823
|
componentId: "sc-1bk05n6-3"
|