Skip to content

Commit

Permalink
fixing background color on input
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandosborne committed Jun 6, 2024
1 parent 77852ad commit 18ca575
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion net/web/src/session/conversation/addTopic/AddTopic.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export function AddTopic({ contentKey }) {
</div>
)}
<div className="message">
<Input.TextArea ref={msg} placeholder={state.strings.newMessage} spellCheck="true" autoSize={{ minRows: 2, maxRows: 6 }}
<Input.TextArea className="messageInput" ref={msg} placeholder={state.strings.newMessage} spellCheck="true" autoSize={{ minRows: 2, maxRows: 6 }}
enterkeyhint="send" onKeyDown={(e) => keyDown(e)} onChange={(e) => actions.setMessageText(e.target.value)}
value={state.messageText} autocapitalize="none" />
</div>
Expand Down
4 changes: 4 additions & 0 deletions net/web/src/session/conversation/addTopic/AddTopic.styled.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ export const AddTopicWrapper = styled.div`
padding-bottom: 8px;
}
.messageInput {
background-color: ${props => props.theme.inputArea};
}
.assets {
margin-top: 8px;
height: 128px;
Expand Down

0 comments on commit 18ca575

Please sign in to comment.