From 2c5d92c852857cdb5b8ea78d744fb4fc122590c9 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 1 Feb 2019 12:42:18 +0300 Subject: Sidebar navigation fixes --- vnext/src/components/MessageInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnext/src/components/MessageInput.js') 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(); } -- cgit v1.2.3