diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box.component.scss b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box.component.scss index f3573e9a..dc8fdda2 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box.component.scss +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box.component.scss @@ -56,10 +56,12 @@ $tablet-s-width: 768px; display: Flex; flex-flow: row; margin-left: 10px; - max-width: 80%; + width: 80%; @media screen and (max-width: #{$tablet-s-width}), (max-height: 600px) { flex-flow: column; + max-width: 80%; + width: unset; } .message-main { margin-right: 6px; @@ -123,8 +125,8 @@ $tablet-s-width: 768px; flex-flow: row-reverse; margin-left: 0px; margin-right: 10px; - @media screen and (max-width: #{$tablet-l-width}), - (max-height: 800px) { + @media screen and (max-width: #{$tablet-s-width}), + (max-height: 600px) { flex-flow: column; } } @@ -144,6 +146,8 @@ $tablet-s-width: 768px; display: none; } .message-main { + display: flex; + justify-content: flex-end; text-align: right; margin-left: 6px; margin-right: 0; diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/translation.component.scss b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/translation.component.scss index 05f45657..96e4f965 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/translation.component.scss +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/translation.component.scss @@ -1,7 +1,6 @@ .translation-main { flex-direction: column; text-align: left; - .original { padding: 10px; } diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/video-conference.component.html b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/video-conference.component.html index 82c2593b..c2b3b79d 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/video-conference.component.html +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/video-conference.component.html @@ -21,24 +21,24 @@