diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/message/message-detail.dialog.component.html b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/message/message-detail.dialog.component.html
index f5fd3df7..26ea44f6 100644
--- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/message/message-detail.dialog.component.html
+++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/message/message-detail.dialog.component.html
@@ -143,7 +143,8 @@
{{ file.resContent }}
- {{ file.resSize | ucapBytes }}
+
+ {{ file.resSize | ucapBytes }}
-
diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/message/message-detail.dialog.component.scss b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/message/message-detail.dialog.component.scss
index fc124522..83ee9fe3 100644
--- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/message/message-detail.dialog.component.scss
+++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/message/message-detail.dialog.component.scss
@@ -109,5 +109,41 @@
.ps {
align-items: flex-start;
}
+ .attachFile {
+ border-top: 1px solid #dddddd;
+ li {
+ display: flex;
+ flex-flow: row;
+ line-height: 2em;
+ flex: 1 1 auto;
+ .file-name {
+ display: inline-flex;
+ flex-flow: row;
+ flex: 1 1 auto;
+ border: 1px solid red;
+ white-space: nowrap;
+ word-wrap: normal;
+ overflow: hidden;
+ span:last-child {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: block;
+ width: calc(100% - 40px);
+ }
+ }
+ .file-size {
+ display: inline-flex;
+ margin-left: auto;
+ align-self: flex-end;
+ flex: 0 0 auto;
+ margin: 0 10px;
+ }
+ a {
+ display: inline-block;
+ width: 20px;
+ height: 100%;
+ }
+ }
+ }
}
-}
+}
\ No newline at end of file
diff --git a/projects/ucap-webmessenger-ui-message/src/lib/components/list-item.component.html b/projects/ucap-webmessenger-ui-message/src/lib/components/list-item.component.html
index a2795aac..75a3957b 100644
--- a/projects/ucap-webmessenger-ui-message/src/lib/components/list-item.component.html
+++ b/projects/ucap-webmessenger-ui-message/src/lib/components/list-item.component.html
@@ -1,5 +1,5 @@
-
+
+
+
+
+ -
+
+ {{ message.userName }}
+ 1" class="text-accent-color number">
+ {{
+ 'message.andOthers' | translate: { count: message.userCount - 1 }
+ }}
+
+
+
+ -
+ image
+ attach_file
+ {{ message.title }}
+
+
+
+ {{ message.regDate | ucapDate: 'MM:DD' }}
+
+ N
+
+
+
\ No newline at end of file
diff --git a/projects/ucap-webmessenger-ui-message/src/lib/components/list-item.component.scss b/projects/ucap-webmessenger-ui-message/src/lib/components/list-item.component.scss
index e69de29b..baeb82b3 100644
--- a/projects/ucap-webmessenger-ui-message/src/lib/components/list-item.component.scss
+++ b/projects/ucap-webmessenger-ui-message/src/lib/components/list-item.component.scss
@@ -0,0 +1,52 @@
+.message-list {
+ &.list-item {
+ dl {
+ display: flex;
+ flex-flow: column;
+ flex: 1 1 auto;
+ width: calc(100% - 80px);
+ dt {
+ .name {
+ font-size: 16px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: block;
+ white-space: nowrap;
+ word-wrap: normal;
+ font-weight: 600;
+ span {
+ font-size: 13px;
+ }
+ }
+ }
+
+ dd {
+ color: #777777;
+ margin-top: 4px;
+ white-space: nowrap;
+ word-wrap: normal;
+ text-overflow: ellipsis;
+ display: block;
+ width: 100%;
+ position: relative;
+ overflow: hidden;
+ }
+ }
+ .date {
+ display: flex;
+ flex-flow: column;
+ align-self: flex-start;
+ .badge-new {
+ border-radius: 50%;
+ color: #ffffff;
+ padding: 0;
+ text-align: center;
+ align-self: flex-end;
+ width: 20px;
+ height: 20px;
+ font-size: 12px;
+ margin-top: 4px;
+ }
+ }
+ }
+}