Change logo size (max-width=300px)

This commit is contained in:
Julia.Radzhabova
2025-08-14 16:17:47 +03:00
parent 8e937e9baa
commit d0b7f2e64b
7 changed files with 8 additions and 8 deletions

View File

@ -876,7 +876,7 @@ define([
this.logo.addClass('hidden');
} else if (this.branding.logo.image || this.branding.logo.imageDark || this.branding.logo.imageLight) {
_logoImage = logo.image;
this.logo.html('<img src="' + _logoImage + '" style="max-width:100px; max-height:20px; margin: 0;"/>');
this.logo.html('<img src="' + _logoImage + '" style="max-width:300px; max-height:20px; margin: 0;"/>');
this.logo.css({'background-image': 'none', width: 'auto'});
(this.branding.logo.url || this.branding.logo.url===undefined) && this.logo.addClass('link');
}
@ -1111,7 +1111,7 @@ define([
element.addClass('hidden');
} else if (value.logo.image || value.logo.imageDark || value.logo.imageLight) {
_logoImage = logo.image;
element.html('<img src="' + _logoImage + '" style="max-width:100px; max-height:20px; margin: 0;"/>');
element.html('<img src="' + _logoImage + '" style="max-width:300px; max-height:20px; margin: 0;"/>');
element.css({'background-image': 'none', width: 'auto'});
(value.logo.url || value.logo.url===undefined) && element.addClass('link');
}

View File

@ -165,7 +165,7 @@
}
#header-logo {
max-width: 200px;
//max-width: 200px;
height: 100%;
padding: 6px 24px 6px 12px;
.rtl & {

View File

@ -989,7 +989,7 @@ DE.ApplicationController = new(function(){
}
if (value.logo.image || value.logo.imageEmbedded) {
logo.html('<img src="'+(value.logo.image || value.logo.imageEmbedded)+'" style="max-width:100px; max-height:20px;"/>');
logo.html('<img src="'+(value.logo.image || value.logo.imageEmbedded)+'" style="max-width:300px; max-height:20px;"/>');
logo.css({'background-image': 'none', width: 'auto', height: 'auto'});
value.logo.imageEmbedded && console.log("Obsolete: The 'imageEmbedded' parameter of the 'customization.logo' section is deprecated. Please use 'image' parameter instead.");

View File

@ -899,7 +899,7 @@ define([
if (value.logo.image || value.logo.imageDark || value.logo.imageLight) {
_logoImage = Common.UI.Themes.isDarkTheme() ? (value.logo.imageDark || value.logo.image || value.logo.imageLight) :
(value.logo.imageLight || value.logo.image || value.logo.imageDark);
logo.html('<img src="' + _logoImage + '" style="max-width:100px; max-height:20px;"/>');
logo.html('<img src="' + _logoImage + '" style="max-width:300px; max-height:20px;"/>');
logo.css({'background-image': 'none', width: 'auto', height: 'auto'});
}

View File

@ -829,7 +829,7 @@ PE.ApplicationController = new(function(){
}
if (value.logo.image || value.logo.imageEmbedded) {
logo.html('<img src="'+(value.logo.image || value.logo.imageEmbedded)+'" style="max-width:100px; max-height:20px;"/>');
logo.html('<img src="'+(value.logo.image || value.logo.imageEmbedded)+'" style="max-width:300px; max-height:20px;"/>');
logo.css({'background-image': 'none', width: 'auto', height: 'auto'});
value.logo.imageEmbedded && console.log("Obsolete: The 'imageEmbedded' parameter of the 'customization.logo' section is deprecated. Please use 'image' parameter instead.");

View File

@ -922,7 +922,7 @@ SSE.ApplicationController = new(function(){
}
if (value.logo.image || value.logo.imageEmbedded) {
logo.html('<img src="'+(value.logo.image || value.logo.imageEmbedded)+'" style="max-width:100px; max-height:20px;"/>');
logo.html('<img src="'+(value.logo.image || value.logo.imageEmbedded)+'" style="max-width:300px; max-height:20px;"/>');
logo.css({'background-image': 'none', width: 'auto', height: 'auto'});
value.logo.imageEmbedded && console.log("Obsolete: The 'imageEmbedded' parameter of the 'customization.logo' section is deprecated. Please use 'image' parameter instead.");

View File

@ -872,7 +872,7 @@ VE.ApplicationController = new(function(){
}
if (value.logo.image || value.logo.imageEmbedded) {
logo.html('<img src="'+(value.logo.image || value.logo.imageEmbedded)+'" style="max-width:100px; max-height:20px;"/>');
logo.html('<img src="'+(value.logo.image || value.logo.imageEmbedded)+'" style="max-width:300px; max-height:20px;"/>');
logo.css({'background-image': 'none', width: 'auto', height: 'auto'});
value.logo.imageEmbedded && console.log("Obsolete: The 'imageEmbedded' parameter of the 'customization.logo' section is deprecated. Please use 'image' parameter instead.");