From ad8bed46aeef9ff34542e51d3c052000ea572a15 Mon Sep 17 00:00:00 2001 From: khk Date: Thu, 16 Jan 2020 11:13:34 +0900 Subject: [PATCH] =?UTF-8?q?=EB=BA=8F=EC=A7=80=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lib/components/list-item.component.html | 4 ++-- .../lib/components/list-item.component.scss | 21 ++++++++++++++++--- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.html b/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.html index 8d29dda5..ed30d890 100644 --- a/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.html +++ b/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.html @@ -86,7 +86,7 @@ - - + diff --git a/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.scss b/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.scss index f5d86f0e..c0f1e8e8 100644 --- a/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.scss +++ b/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.scss @@ -128,6 +128,8 @@ $thumbnail-msize: 40px; margin-left: 10px; color: $font-mid; @include ellipsis(1); + align-items: flex-start; + margin-top: -2px; } } @@ -159,7 +161,20 @@ $thumbnail-msize: 40px; } .noti-num { - position: absolute !important; - right: 22px; - bottom: 22px; + &.mat-badge { + position: absolute !important; + right: 40px !important; + bottom: 22px !important; + font-size: 11px; + padding: 0 6px; + color: #ffffff; + max-width: 60px; + @include ellipsis(1); + overflow: visible; + border-radius: 50%; + width: 22px; + height: 22px; + line-height: 22px; + display: inline-flex; + } }