diff --git a/apps/documenteditor/mobile/src/view/Toolbar.jsx b/apps/documenteditor/mobile/src/view/Toolbar.jsx index a49d002a8b..21b2c4a93c 100644 --- a/apps/documenteditor/mobile/src/view/Toolbar.jsx +++ b/apps/documenteditor/mobile/src/view/Toolbar.jsx @@ -30,7 +30,7 @@ const ToolbarView = props => { onAddClick: e => props.openOptions('add') })} { Device.phone ? null : } - {props.displayCollaboration && window.matchMedia("(min-width: 390px)").matches ? props.openOptions('coauth')}> : null} + {props.displayCollaboration && window.matchMedia("(min-width: 360px)").matches ? props.openOptions('coauth')}> : null} props.openOptions('settings')}> diff --git a/apps/documenteditor/mobile/src/view/settings/Settings.jsx b/apps/documenteditor/mobile/src/view/settings/Settings.jsx index 4c3227d115..6f7578b8c2 100644 --- a/apps/documenteditor/mobile/src/view/settings/Settings.jsx +++ b/apps/documenteditor/mobile/src/view/settings/Settings.jsx @@ -122,8 +122,8 @@ const SettingsList = inject("storeAppOptions")(observer(props => { } - {window.matchMedia("(max-width: 389px)").matches ? - + {window.matchMedia("(max-width: 359px)").matches ? + : null} diff --git a/apps/presentationeditor/mobile/src/view/Toolbar.jsx b/apps/presentationeditor/mobile/src/view/Toolbar.jsx index cc053e6aea..6347ac07e3 100644 --- a/apps/presentationeditor/mobile/src/view/Toolbar.jsx +++ b/apps/presentationeditor/mobile/src/view/Toolbar.jsx @@ -31,7 +31,7 @@ const ToolbarView = props => { onAddClick: () => props.openOptions('add') })} { Device.phone ? null : } - {props.displayCollaboration && window.matchMedia("(min-width: 390px)").matches ? props.openOptions('coauth')}> : null} + {props.displayCollaboration && window.matchMedia("(min-width: 360px)").matches ? props.openOptions('coauth')}> : null} props.openOptions('settings')}> diff --git a/apps/presentationeditor/mobile/src/view/settings/Settings.jsx b/apps/presentationeditor/mobile/src/view/settings/Settings.jsx index 714f8a245e..701e58a927 100644 --- a/apps/presentationeditor/mobile/src/view/settings/Settings.jsx +++ b/apps/presentationeditor/mobile/src/view/settings/Settings.jsx @@ -113,12 +113,12 @@ const SettingsList = withTranslation()(props => { {navbar} {!props.inPopover && - + } - {window.matchMedia("(max-width: 389px)").matches ? - + {window.matchMedia("(max-width: 359px)").matches ? + : null} diff --git a/apps/spreadsheeteditor/mobile/src/view/Toolbar.jsx b/apps/spreadsheeteditor/mobile/src/view/Toolbar.jsx index 2680d752b7..bf1b7d6029 100644 --- a/apps/spreadsheeteditor/mobile/src/view/Toolbar.jsx +++ b/apps/spreadsheeteditor/mobile/src/view/Toolbar.jsx @@ -25,7 +25,7 @@ const ToolbarView = props => { onAddClick: () => props.openOptions('add') })} { Device.phone ? null : } - {props.displayCollaboration && window.matchMedia("(min-width: 390px)").matches ? props.openOptions('coauth')}> : null} + {props.displayCollaboration && window.matchMedia("(min-width: 360px)").matches ? props.openOptions('coauth')}> : null} props.openOptions('settings')}> diff --git a/apps/spreadsheeteditor/mobile/src/view/settings/Settings.jsx b/apps/spreadsheeteditor/mobile/src/view/settings/Settings.jsx index 52ad391995..3fa8009e53 100644 --- a/apps/spreadsheeteditor/mobile/src/view/settings/Settings.jsx +++ b/apps/spreadsheeteditor/mobile/src/view/settings/Settings.jsx @@ -122,12 +122,12 @@ const SettingsList = withTranslation()(props => { {navbar} {!props.inPopover && - + } - {window.matchMedia("(max-width: 389px)").matches ? - + {window.matchMedia("(max-width: 359px)").matches ? + : null}