diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/date-splitter.component.scss b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/date-splitter.component.scss index 662d4e41..123c8c05 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/date-splitter.component.scss +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/date-splitter.component.scss @@ -3,6 +3,7 @@ align-content: center; flex-flow: row; align-items: flex-end; + height: 20px; .line { height: 1px; background-color: #cccccc; diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/information.component.html b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/information.component.html index eed3fd3d..55411999 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/information.component.html +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/information.component.html @@ -1 +1 @@ -
{{ contents }}
+
{{ contents }}
diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/information.component.scss b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/information.component.scss index e69de29b..66404243 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/information.component.scss +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/information.component.scss @@ -0,0 +1,13 @@ +.guest { + display: flex; + align-content: center; + flex-flow: row; + width: 100%; + background-color: rgba(0, 0, 0, 0.4); + padding: 4px 20px; + color: #ffffff; + border-radius: 100px; + justify-content: center; + justify-items: center; + margin: 10px 0 20px; +} diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.html b/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.html index 19850f98..5716eb02 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.html +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.html @@ -1,26 +1,9 @@ -
- +
+ + + 안읽은 메시지가 + ({{ firstEventSeq - (roomInfo.lastReadEventSeq + 1) }})개 더 있습니다. + + +
diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.scss b/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.scss index a51067c5..7806a00c 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.scss +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.scss @@ -15,6 +15,7 @@ $meBox-bg: #ffffff; background-color: rgba(0, 0, 0, 0.1); padding: 10px; margin: 10px 0;*/ + width: 100%; } .message-row { @@ -176,43 +177,48 @@ $meBox-bg: #ffffff; white-space: pre-wrap; word-break: break-word; } -.view-previous { +::ng-deep .view-previous { display: flex; - align-content: center; - flex-flow: row; - background-color: rgba(0, 0, 0, 0.4); - padding: 4px 10px; + flex-flow: column; + //background-color: rgba(0, 0, 0, 0.4); color: #ffffff; - border-radius: 100px; justify-content: center; + justify-items: center; margin: 10px 0 20px; button { - height: 24px; - line-height: 24px; + height: 100%; width: 100%; - svg { - stroke: #ffffff; - align-self: center; + border-radius: 100px; + .mat-button-wrapper { + justify-items: center; + svg { + stroke: #ffffff; + align-self: center; + margin-right: 4px; + } + } + } + .unRead-count { + display: flex; + justify-items: self-end; + flex-flow: row; + align-items: flex-end; + height: 20px; + margin: 10px 0; + .line { + height: 1px; + background-color: #cccccc; + width: 40%; + flex: 1 1 auto; + margin-bottom: 10px; + display: inline-flex; + } + .count { + width: 260px; + font-size: 13px; + text-align: center; + font-weight: 600; + color: #333333; } } } -.unRead-count { - display: flex; - justify-items: self-end; - flex-flow: row; - align-items: flex-end; - .line { - height: 1px; - background-color: #cccccc; - width: 40%; - flex: 1 1 auto; - margin-bottom: 10px; - display: inline-flex; - } - .count { - width: 260px; - font-size: 13px; - text-align: center; - font-weight: 600; - } -}