Only show chat send button on mobile
This commit is contained in:
@@ -46,3 +46,16 @@
|
||||
cursor: pointer;
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
.sendButton {
|
||||
border: none;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
padding: 0 1rem;
|
||||
display: none;
|
||||
|
||||
// Only show the chat send button on narrow screens to assist in mobile use.
|
||||
@media (max-width: 768px) {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -235,7 +235,7 @@ export const ChatTextField: FC<ChatTextFieldProps> = () => {
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
className={styles.emojiButton}
|
||||
className={styles.sendButton}
|
||||
title="Send message Button"
|
||||
onClick={sendMessage}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user