diff --git a/projects/ucap-webmessenger-ui-message/src/lib/components/write.component.html b/projects/ucap-webmessenger-ui-message/src/lib/components/write.component.html index d818d859..280480c3 100644 --- a/projects/ucap-webmessenger-ui-message/src/lib/components/write.component.html +++ b/projects/ucap-webmessenger-ui-message/src/lib/components/write.component.html @@ -1,41 +1,29 @@
- - - +
+ + 총 수신자 OO명 +
+ + + {{ receiver.name }} + + + - -
- - - - {{ oldAttachment.resContent }} - - - - {{ attachment.name }} - - -
- - - + + + + + +
+ +
+ + + + {{ oldAttachment.resContent }} + + + + {{ attachment.name }} + + +
+
+ + +
+
+ {{ contentLength }}/1000 +
+
+
+
-
- - -
-
-
+
+ + - +
diff --git a/projects/ucap-webmessenger-ui-message/src/lib/components/write.component.scss b/projects/ucap-webmessenger-ui-message/src/lib/components/write.component.scss index 91d3ac2e..65ba68b9 100644 --- a/projects/ucap-webmessenger-ui-message/src/lib/components/write.component.scss +++ b/projects/ucap-webmessenger-ui-message/src/lib/components/write.component.scss @@ -7,20 +7,8 @@ height: 100px; } - .message-title { - width: 100%; - } - .message-write-body { - overflow: auto; - height: 270px; - .ucap-message-write-editor { - display: inline-block; - width: 100%; - height: 100%; - min-height: 250px; - } [contenteditable] { } @@ -45,14 +33,98 @@ mat-card-actions { display: flex; width: 100%; - - .editor-tools { - padding-left: 0px; - } .editor-actions-spacer { flex: 1 1 auto; } - .editor-actions { + } +} + +.message-content { + display: flex; + flex-flow: row; + position: relative; + width: 100%; + .message-receiver-list { + position: relative; + width: 30%; + height: 100%; + margin-right: 10px; + } + .message-write-body { + display: flex; + flex: 1 1 auto; + flex-flow: column; + margin: 0; + .ucap-message-write-editor { + display: inline-block; + width: 100%; + height: 100%; + padding: 10px; + height: 280px; + overflow: auto; + } + .message-option { + display: flex; + flex-flow: row; + flex: 1 1 auto; + height: 40px; + .editor-tools { + } + .length { + margin-left: auto; + align-self: center; + } } } } +.mat-card-actions { + margin: 0 0 20px; + border-top: 1px solid #dddddd; + .editor-actions { + display: flex; + flex-flow: row; + justify-content: space-between; + margin-left: auto; + button { + margin-left: 4px; + } + } +} + +::ng-deep .ucap-message-write { + padding: 0; + .add-row { + display: flex; + align-items: center; + padding-bottom: 10px; + margin-bottom: 10px; + border-bottom: 1px solid #dddddd; + .mat-mini-fab { + .mat-button-wrapper { + padding: 0; + .mat-icon { + width: 40px; + height: 40px; + line-height: 40px; + } + .mat-fab__label { + color: #212121; + margin-left: 10px; + } + } + } + .receiver-sum { + margin-left: auto; + } + } + .mat-chip-list { + .mat-chip-list-wrapper { + max-height: 100px; + overflow: auto; + } + } + .message-title { + width: 100%; + margin-top: 10px; + } +}