aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/MessageInput.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-02-01 12:42:18 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit2c5d92c852857cdb5b8ea78d744fb4fc122590c9 (patch)
tree0b25e7f71a1464a66cb769a4df340a30d07a7795 /vnext/src/components/MessageInput.js
parent48087828920cc60ce82d1957d7943d9d709822a8 (diff)
Sidebar navigation fixes
Diffstat (limited to 'vnext/src/components/MessageInput.js')
-rw-r--r--vnext/src/components/MessageInput.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/components/MessageInput.js b/vnext/src/components/MessageInput.js
index 66e6ca02..5766f2ac 100644
--- a/vnext/src/components/MessageInput.js
+++ b/vnext/src/components/MessageInput.js
@@ -49,7 +49,7 @@ export default class MessageInput extends React.Component {
}
componentDidMount() {
- const isMobile = window.matchMedia('only screen and (max-width: 850px)');
+ const isMobile = window.matchMedia('only screen and (width <62.5rem)');
if (!isMobile.matches) {
this.textarea.current.focus();
}