You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2022/05/17 17:18:21 UTC

[ofbiz-framework] 01/02: Fixed: cssImgSmall css class definition missing in Helveticus Theme (OFBIZ-12617)

This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch release22.01
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit e8fde502d2a0ba2a26e095995399462d678b73b7
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Tue May 17 19:10:31 2022 +0200

    Fixed: cssImgSmall css class definition missing in Helveticus Theme (OFBIZ-12617)
    
    https://localhost:8443/catalog/control/EditCategory?productCategoryId=FOOD-001
    Just upload an image - it will be displayed in full size. cssImageSmall css class
    is defined in template but no definition is defined the theme.
    
    Thanks: Ingo Wolfmayr
---
 themes/helveticus/webapp/helveticus/helveticus-main-theme.less | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/themes/helveticus/webapp/helveticus/helveticus-main-theme.less b/themes/helveticus/webapp/helveticus/helveticus-main-theme.less
index b920f5214c..b61df5e466 100644
--- a/themes/helveticus/webapp/helveticus/helveticus-main-theme.less
+++ b/themes/helveticus/webapp/helveticus/helveticus-main-theme.less
@@ -1401,3 +1401,9 @@ form .basic-table,
     color: #3D3D3D;
     font-style: italic;
 }
+.cssImgSmall{
+    max-width: 64px;
+    max-height: 64px;
+    width: auto;
+    height: auto;
+}