[ofbiz-plugins] branch trunk 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 trunk 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 trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new cfba1f3  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
cfba1f3 is described below

commit cfba1f3fe26309168e998090cdc5de898042ef88
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 a9b8bdf..011fe87 100644
--- a/ecommerce/webapp/ecommerce/css/custom.css
+++ b/ecommerce/webapp/ecommerce/css/custom.css
@@ -118,4 +118,8 @@ button.jGrowl-close {
 .hidden {
     height: 0;
     visibility: hidden;
+}
+.promotion-products .products-card {
+    width: 100%;
+    max-width: 100%;
 }
\ No newline at end of file