This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 92920c4e8c Improved: Reduce logo size BlueLight theme (OFBIZ-12997)
(#777)
92920c4e8c is described below
commit 92920c4e8c118181cc4d38533d5b6f120b8ddb8b
Author: Pierre Smits <[email protected]>
AuthorDate: Sat Apr 20 09:15:09 2024 +0200
Improved: Reduce logo size BlueLight theme (OFBIZ-12997) (#777)
When using the Bluelight theme the size of the default logo is greater than
the visible 'system notes' lines.
Reducing the height of the logo displayed, increases the visibility of the
pages useful to user and thus enhance the user experience (less vertical
scrolling).
modified: header.ftl - added height value
---
themes/bluelight/template/Header.ftl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/bluelight/template/Header.ftl
b/themes/bluelight/template/Header.ftl
index 5c8d65ec41..1b499a6bb4 100644
--- a/themes/bluelight/template/Header.ftl
+++ b/themes/bluelight/template/Header.ftl
@@ -151,7 +151,7 @@ under the License.
</#if>
<#if headerImageUrl??>
<#if organizationLogoLinkURL?has_content>
- <li><a href="<@ofbizUrl>${logoLinkURL}</@ofbizUrl>"><img
alt="${layoutSettings.companyName}"
src="<@ofbizContentUrl>${StringUtil.wrapString(organizationLogoLinkURL)}</@ofbizContentUrl>"></a></li>
+ <li><a href="<@ofbizUrl>${logoLinkURL}</@ofbizUrl>"><img
alt="${layoutSettings.companyName}"
src="<@ofbizContentUrl>${StringUtil.wrapString(organizationLogoLinkURL)}</@ofbizContentUrl>"
height="60"></a></li>
<#else>
<li class="logo-area"><a
href="<@ofbizUrl>${logoLinkURL}</@ofbizUrl>"><img
alt="${layoutSettings.companyName}"
src="<@ofbizContentUrl>${StringUtil.wrapString(headerImageUrl)}</@ofbizContentUrl>"/></a></li>
</#if>