From 2355a62aa78a46dcf4cc5f19e4bcb8d5da2af169 Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Mon, 17 May 2021 14:43:08 +0300 Subject: [PATCH] [PE mobile] Fix toolbar --- apps/presentationeditor/mobile/src/view/Toolbar.jsx | 2 +- apps/presentationeditor/mobile/src/view/settings/Settings.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/presentationeditor/mobile/src/view/Toolbar.jsx b/apps/presentationeditor/mobile/src/view/Toolbar.jsx index 6347ac07e..06c95d950 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: 360px)").matches ? props.openOptions('coauth')}> : null} + {props.displayCollaboration && window.matchMedia("(min-width: 375px)").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 701e58a92..ff83ceda8 100644 --- a/apps/presentationeditor/mobile/src/view/settings/Settings.jsx +++ b/apps/presentationeditor/mobile/src/view/settings/Settings.jsx @@ -117,7 +117,7 @@ const SettingsList = withTranslation()(props => { } - {window.matchMedia("(max-width: 359px)").matches ? + {window.matchMedia("(max-width: 374px)").matches ?