[ofbiz-plugins] branch release17.12 updated: Fixed: ui for the product summary in promotion product list (OFBIZ-11906) The product summary in the row is too slim, leaving 75% of the place unused. Added CSS that forces to take 100% width Thanks Alex Bodnaru for reporting and providing the patch

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-plugins] branch release17.12 updated: Fixed: ui for the product summary in promotion product list (OFBIZ-11906) The product summary in the row is too slim, leaving 75% of the place unused. Added CSS that forces to take 100% width Thanks Alex Bodnaru for reporting and providing the patch

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

adityasharma pushed a commit to branch release17.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/release17.12 by this push:
     new 486f1d8  Fixed: ui for the product summary in promotion product list (OFBIZ-11906) The product summary in the row is too slim, leaving 75% of the place unused. Added CSS that forces to take 100% width Thanks Alex Bodnaru for reporting and providing the patch
486f1d8 is described below

commit 486f1d8a591e46e55047fbeec597e8c0dec501fa
Author: Aditya Sharma <[hidden email]>
AuthorDate: Fri Jul 24 16:06:33 2020 +0530

    Fixed: ui for the product summary in promotion product list (OFBIZ-11906)
    The product summary in the row is too slim, leaving 75% of the place unused.
    Added CSS that forces to take 100% width
    Thanks Alex Bodnaru for reporting and providing the patch
---
 ecommerce/template/cart/PromotionProducts.ftl | 2 +-
 ecommerce/webapp/ecommerce/css/custom.css     | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ecommerce/template/cart/PromotionProducts.ftl b/ecommerce/template/cart/PromotionProducts.ftl
index e8cf98f..e81ca7c 100644
--- a/ecommerce/template/cart/PromotionProducts.ftl
+++ b/ecommerce/template/cart/PromotionProducts.ftl
@@ -18,7 +18,7 @@ under the License.
 -->
 
 <#if productIds?has_content>
-<div class="card">
+<div class="card promotion-products">
     <div class="card-header">
         ${uiLabelMap.OrderProductsForPromotion}
     </div>
diff --git a/ecommerce/webapp/ecommerce/css/custom.css b/ecommerce/webapp/ecommerce/css/custom.css
index d715543..0a572bb 100644
--- a/ecommerce/webapp/ecommerce/css/custom.css
+++ b/ecommerce/webapp/ecommerce/css/custom.css
@@ -120,4 +120,8 @@ button.jGrowl-close {
 .hidden {
     height: 0;
     visibility: hidden;
+}
+.promotion-products .products-card {
+    width: 100%;
+    max-width: 100%;
 }
\ No newline at end of file