From 147c0a56e1f43e4425817d0431a56aad0c814a81 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 22 Jul 2019 17:32:10 +0300 Subject: [PATCH] Fix loading custom logo --- apps/documenteditor/main/index.html | 16 +++++++--------- apps/presentationeditor/main/index.html | 16 +++++++--------- apps/spreadsheeteditor/main/index.html | 16 +++++++--------- 3 files changed, 21 insertions(+), 27 deletions(-) diff --git a/apps/documenteditor/main/index.html b/apps/documenteditor/main/index.html index dc7f5bab5..4270f1c3b 100644 --- a/apps/documenteditor/main/index.html +++ b/apps/documenteditor/main/index.html @@ -48,12 +48,10 @@ height: 20px; } - .loadmask > .brendpanel .loading-logo > i { + .loadmask > .brendpanel .loading-logo > img { display: inline-block; - width: 86px; - height: 20px; - background: url('../../common/main/resources/img/header/header-logo.png') no-repeat; - background-size: contain; + max-width: 100px; + max-height: 20px; opacity: 0; } @@ -171,7 +169,7 @@ var params = getUrlParams(), lang = (params["lang"] || 'en').split(/[\-\_]/)[0], - logo = params["headerlogo"] ? 'url(' + encodeUrlParam(params["headerlogo"]) + ')' : null; + logo = params["headerlogo"] ? encodeUrlParam(params["headerlogo"]) : null; window.frameEditorId = params["frameEditorId"]; @@ -181,16 +179,16 @@ -
+
@@ -199,16 +197,16 @@ -
+
@@ -190,16 +188,16 @@ -
+