[DE forms] Fix header logo

This commit is contained in:
Julia Radzhabova 2021-09-22 00:53:08 +03:00
parent ff7af14f69
commit d46fac7eff
2 changed files with 4 additions and 2 deletions

View file

@ -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;

View file

@ -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;