From d46fac7eff0b1e5dec85014bc3f3aa445e97c220 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 22 Sep 2021 00:53:08 +0300 Subject: [PATCH] [DE forms] Fix header logo --- apps/documenteditor/forms/index.html | 3 ++- apps/documenteditor/forms/index.html.deploy | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/forms/index.html b/apps/documenteditor/forms/index.html index e1bd0cc0e..dd12004df 100644 --- a/apps/documenteditor/forms/index.html +++ b/apps/documenteditor/forms/index.html @@ -52,7 +52,6 @@ display: inline-block; max-width: 100px; max-height: 20px; - margin-top: 2px; opacity: 0; } .loadmask > .brendpanel .doc-title { @@ -189,6 +188,8 @@ var elem = document.querySelector('.loading-logo'); if (elem && logo) { elem.style.backgroundImage= 'none'; + elem.style.width = 'auto'; + elem.style.height = 'auto'; var img = document.querySelector('.loading-logo img'); img && img.setAttribute('src', logo); img.style.opacity = 1; diff --git a/apps/documenteditor/forms/index.html.deploy b/apps/documenteditor/forms/index.html.deploy index 3894cbdcd..d03fc8244 100644 --- a/apps/documenteditor/forms/index.html.deploy +++ b/apps/documenteditor/forms/index.html.deploy @@ -50,7 +50,6 @@ display: inline-block; max-width: 100px; max-height: 20px; - margin-top: 2px; opacity: 0; } .loadmask > .brendpanel .doc-title { @@ -174,6 +173,8 @@ var elem = document.querySelector('.loading-logo'); if (elem && logo) { elem.style.backgroundImage= 'none'; + elem.style.width = 'auto'; + elem.style.height = 'auto'; var img = document.querySelector('.loading-logo img'); img && img.setAttribute('src', logo); img.style.opacity = 1;