From 9b67c15a6b09cabf8ce8ae94c9cae2c802e0b54b Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 5 Dec 2017 23:42:18 +0100 Subject: [PATCH] upd: css.container|view.vue.container.inbox (only display name on first message from same user) --- public_html/css/container.css | 7 ++++++- view/vue/container/inbox.vue | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/public_html/css/container.css b/public_html/css/container.css index a2bb964..69a8ed8 100644 --- a/public_html/css/container.css +++ b/public_html/css/container.css @@ -7,7 +7,8 @@ flex-wrap: nowrap; } - #CONTAINER.message div{ /* Message item */ + #CONTAINER.message div, + #CONTAINER.message div[data-noauthor='1']{ /* Message item */ display: inline-block; position: relative; top: 0; @@ -27,6 +28,10 @@ color: #222; } + #CONTAINER.message div[data-noauthor='0']{ + margin-top: .5em; + } + #CONTAINER.message div.me{ /* Message Item (self) */ /* background: #13d89d; */ align-self: flex-end; diff --git a/view/vue/container/inbox.vue b/view/vue/container/inbox.vue index 62376c9..b427e00 100644 --- a/view/vue/container/inbox.vue +++ b/view/vue/container/inbox.vue @@ -2,8 +2,8 @@
-
- +
+