From e0aecd9704f4904ef7c5c18c018eb86dfa17cb4c Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 25 Nov 2019 11:13:00 +0300 Subject: [PATCH] Fix loader for view mode --- apps/documenteditor/main/index.html | 1 + apps/documenteditor/main/index.html.deploy | 1 + apps/presentationeditor/main/index.html | 1 + apps/presentationeditor/main/index.html.deploy | 1 + apps/spreadsheeteditor/main/index.html | 1 + apps/spreadsheeteditor/main/index.html.deploy | 1 + 6 files changed, 6 insertions(+) diff --git a/apps/documenteditor/main/index.html b/apps/documenteditor/main/index.html index 7683765597..412918523e 100644 --- a/apps/documenteditor/main/index.html +++ b/apps/documenteditor/main/index.html @@ -227,6 +227,7 @@ if (view) { document.querySelector('.brendpanel > :nth-child(2)').remove(); + document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px'; document.querySelector('.sktoolbar').remove(); } diff --git a/apps/documenteditor/main/index.html.deploy b/apps/documenteditor/main/index.html.deploy index c1cc8886d5..81e17b32c6 100644 --- a/apps/documenteditor/main/index.html.deploy +++ b/apps/documenteditor/main/index.html.deploy @@ -212,6 +212,7 @@ view = params["mode"] == 'view'; if (view) { document.querySelector('.brendpanel > :nth-child(2)').remove(); + document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px'; document.querySelector('.sktoolbar').remove(); } if (stopLoading) { diff --git a/apps/presentationeditor/main/index.html b/apps/presentationeditor/main/index.html index 20afe4b5e9..d69b5614d0 100644 --- a/apps/presentationeditor/main/index.html +++ b/apps/presentationeditor/main/index.html @@ -256,6 +256,7 @@ if (view) { document.querySelector('.brendpanel > :nth-child(2)').remove(); + document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px'; document.querySelector('.sktoolbar').remove(); } diff --git a/apps/presentationeditor/main/index.html.deploy b/apps/presentationeditor/main/index.html.deploy index 94c177ec32..260031a36b 100644 --- a/apps/presentationeditor/main/index.html.deploy +++ b/apps/presentationeditor/main/index.html.deploy @@ -262,6 +262,7 @@ if (view) { document.querySelector('.brendpanel > :nth-child(2)').remove(); + document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px'; document.querySelector('.sktoolbar').remove(); } diff --git a/apps/spreadsheeteditor/main/index.html b/apps/spreadsheeteditor/main/index.html index f7b30e5277..eda5a47d2c 100644 --- a/apps/spreadsheeteditor/main/index.html +++ b/apps/spreadsheeteditor/main/index.html @@ -233,6 +233,7 @@ if (view) { document.querySelector('.brendpanel > :nth-child(2)').remove(); + document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px'; document.querySelector('.sktoolbar').remove(); } diff --git a/apps/spreadsheeteditor/main/index.html.deploy b/apps/spreadsheeteditor/main/index.html.deploy index 95e61a8ba0..3688e43f4b 100644 --- a/apps/spreadsheeteditor/main/index.html.deploy +++ b/apps/spreadsheeteditor/main/index.html.deploy @@ -238,6 +238,7 @@ if (view) { document.querySelector('.brendpanel > :nth-child(2)').remove(); + document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px'; document.querySelector('.sktoolbar').remove(); }