@rpg-engine/long-bow 0.3.23 → 0.3.25
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 -6
- 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 -6
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Chat/Chat.tsx +11 -11
package/package.json
CHANGED
|
@@ -99,7 +99,6 @@ export const Chat: React.FC<IChatProps> = ({
|
|
|
99
99
|
id="inputMessage"
|
|
100
100
|
onChange={e => getInputValue(e.target.value)}
|
|
101
101
|
height={20}
|
|
102
|
-
className="chat-input dark-background"
|
|
103
102
|
type="text"
|
|
104
103
|
autoComplete="off"
|
|
105
104
|
onFocus={onFocus}
|
|
@@ -113,7 +112,7 @@ export const Chat: React.FC<IChatProps> = ({
|
|
|
113
112
|
id="chat-send-button"
|
|
114
113
|
style={{ borderRadius: '20%' }}
|
|
115
114
|
>
|
|
116
|
-
<CiPaperplane size={
|
|
115
|
+
<CiPaperplane size={15} />
|
|
117
116
|
</Button>
|
|
118
117
|
</Column>
|
|
119
118
|
</Form>
|
|
@@ -139,22 +138,22 @@ interface IButtonProps {
|
|
|
139
138
|
const ChatContainer = styled.div<IContainerProps>`
|
|
140
139
|
height: ${props => props.height};
|
|
141
140
|
width: ${({ width }) => width};
|
|
142
|
-
|
|
143
|
-
padding: 40px 30px;
|
|
141
|
+
padding: 10px;
|
|
144
142
|
margin-top: 100px;
|
|
145
|
-
|
|
143
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
146
144
|
`;
|
|
147
145
|
|
|
148
146
|
const TextField = styled.input`
|
|
149
147
|
width: 100%;
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
background-color: rgba(0, 0, 0, 0.25) !important;
|
|
149
|
+
border: none !important;
|
|
150
|
+
max-height: 28px !important;
|
|
152
151
|
`;
|
|
153
152
|
|
|
154
153
|
const MessagesContainer = styled.div`
|
|
155
|
-
overflow:
|
|
154
|
+
overflow-x: scroll;
|
|
156
155
|
height: 70%;
|
|
157
|
-
margin-bottom:
|
|
156
|
+
margin-bottom: 10px;
|
|
158
157
|
`;
|
|
159
158
|
|
|
160
159
|
const Message = styled.div<IMessageProps>`
|
|
@@ -172,6 +171,7 @@ const Form = styled.form`
|
|
|
172
171
|
const Button = styled.button<IButtonProps>`
|
|
173
172
|
color: ${({ buttonColor }) => buttonColor};
|
|
174
173
|
background-color: ${({ buttonBackgroundColor }) => buttonBackgroundColor};
|
|
175
|
-
width:
|
|
176
|
-
height:
|
|
174
|
+
width: 28px;
|
|
175
|
+
height: 28px;
|
|
176
|
+
border: none !important;
|
|
177
177
|
`;
|