This is an automated email from the ASF dual-hosted git repository.
adityasharma pushed a commit to branch release18.12
in repository
https://gitbox.apache.org/repos/asf/ofbiz-plugins.gitThe following commit(s) were added to refs/heads/release18.12 by this push:
new 64b0f25 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
64b0f25 is described below
commit 64b0f25e34a41887d518135ce7a00816811d8f40
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 af37e14..9afe14a 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