From 86b9b0893fce1db4ff3dc2626153d5b52eee3ba1 Mon Sep 17 00:00:00 2001 From: Quique Fernandez Date: Wed, 28 Dec 2016 14:40:11 +0100 Subject: [PATCH] improve detal layout --- .../orders-detail.component.html | 14 ++++----- .../orders-detail.component.scss | 30 ++++++++++++++----- 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.html b/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.html index 3dc81dd63..20cbd5211 100644 --- a/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.html +++ b/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.html @@ -47,17 +47,17 @@
-
+
-
{{item.productname}}
-
$ {{item.unitprice}}
-
{{item.units}}
-
$ {{item.units * item.unitprice}}
+
{{item.productname}}
+
$ {{item.unitprice}}
+
{{item.units}}
+
$ {{item.units * item.unitprice}}
-
+
Total
@@ -65,7 +65,7 @@
-
$ XX
+
$ XX
diff --git a/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.scss b/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.scss index 0c194b296..0e2f01db6 100644 --- a/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.scss +++ b/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.scss @@ -24,6 +24,10 @@ &-section { padding: 1rem 0; + + &--right { + text-align: right; + } } &-titles { @@ -35,17 +39,29 @@ font-size: $font-size-l; } + &-items { + + } + + $item-height: 8rem; &-item { + font-size: $font-size-m; font-weight: $font-weight-semilight; - } - &-image { - max-width: 210px; - min-width: 80px; - width: 100%; + &--middle { + line-height: $item-height; - @media screen and (max-width: $media-screen-s) { - display: none; + @media screen and (max-width: $media-screen-s) { + line-height: $font-size-m; + } } + + &--mark { + color: $color-secondary; + } + } + + &-image { + height: $item-height; } }