From ad6bddf8bc9f32b9d747ac08a356a8665361c938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Tue, 7 Dec 2021 18:01:39 +0300 Subject: [PATCH] Format price --- .../src/EShopOnAbp.PublicWeb/Components/Basket/Default.cshtml | 4 ++-- apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Catalog.css | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Basket/Default.cshtml b/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Basket/Default.cshtml index d7119752..1daba28e 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Basket/Default.cshtml +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Basket/Default.cshtml @@ -23,12 +23,12 @@ { (@("x" + item.Count)) } - - $@item.TotalPrice + - $@item.TotalPrice.ToString("0.00") }
- Total: $@Model.TotalPrice + Total: $@Model.TotalPrice.ToString("0.00")
diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Catalog.css b/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Catalog.css index 411340f5..88f54acc 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Catalog.css +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Catalog.css @@ -54,10 +54,11 @@ } .basket-list-item img { - width: 20px; + height: 1em; } .basket-total-area { margin-bottom: 1em; + font-weight: bold; } \ No newline at end of file