From ed2c308e51e66717f9cb4800a7c95a969970fc67 Mon Sep 17 00:00:00 2001 From: Xavier Date: Wed, 28 Nov 2018 18:44:05 -0800 Subject: [PATCH 01/13] Resolve WIP --- src/pages/detail/detail-button-conflict.html | 2 +- .../detail/detail-simpledeal-conflict.html | 34 +++++++++++++------ src/pages/detail/detail-simpledeal.html | 5 +-- 3 files changed, 27 insertions(+), 14 deletions(-) diff --git a/src/pages/detail/detail-button-conflict.html b/src/pages/detail/detail-button-conflict.html index 57e0d2b5..9887d989 100644 --- a/src/pages/detail/detail-button-conflict.html +++ b/src/pages/detail/detail-button-conflict.html @@ -32,7 +32,7 @@ .container { max-width: 175px; text-align: center; - margin: 0 auto; + margin: 40px auto; } .button { diff --git a/src/pages/detail/detail-simpledeal-conflict.html b/src/pages/detail/detail-simpledeal-conflict.html index 0593d0e9..4b89564a 100644 --- a/src/pages/detail/detail-simpledeal-conflict.html +++ b/src/pages/detail/detail-simpledeal-conflict.html @@ -104,6 +104,8 @@ } .conflictbox { + @apply --layout-vertical; + @apply --layout-center; box-sizing: border-box; padding: 40px 25px 20px 25px; background-color: var(--sc-white); @@ -181,10 +183,12 @@ @apply --text-button-big; @apply --body-bold; margin: 20px 0 0 0; - color: var(--sc-white); + color: var(--sc-grey4); width: 250px; } + + .button:active { @apply --button-active; } @@ -243,16 +247,24 @@
This deal is in conflict.
-
The hashtagmaintainer is added to the chat
-
-
- - + +
@@ -362,7 +374,7 @@ return status == '3' ? "conflictbox" : "conflictbox pending"; } _isMaintainer(maintainerAddress, userAddress) { - return maintainerAddress == userAddress ? "replier" : "username"; + return maintainerAddress == userAddress; } } window.customElements.define( diff --git a/src/pages/detail/detail-simpledeal.html b/src/pages/detail/detail-simpledeal.html index 2a6ae378..4eda335c 100644 --- a/src/pages/detail/detail-simpledeal.html +++ b/src/pages/detail/detail-simpledeal.html @@ -133,7 +133,7 @@ maintainer="[[hashtag.metadata.maintainer]]" on-chat="_handleOnChat"> - - - + + + \ No newline at end of file diff --git a/src/pages/detail/detail-simpledeal-conflict.html b/src/pages/detail/detail-simpledeal-conflict.html index 4b89564a..c9a3b4d3 100644 --- a/src/pages/detail/detail-simpledeal-conflict.html +++ b/src/pages/detail/detail-simpledeal-conflict.html @@ -13,6 +13,7 @@ --> + +