diff --git a/apps/documenteditor/mobile/src/view/Toolbar.jsx b/apps/documenteditor/mobile/src/view/Toolbar.jsx index a49d002a8..21b2c4a93 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 4c3227d11..6f7578b8c 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 cc053e6ae..6347ac07e 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 714f8a245..701e58a92 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 2680d752b..bf1b7d602 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 52ad39199..3fa8009e5 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}