diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.html b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.html index fff56f70..828706c4 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.html +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.html @@ -84,7 +84,11 @@ + + + +
- - - -
- +
diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.scss b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.scss index a945a34c..b53ad412 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.scss +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.scss @@ -58,21 +58,21 @@ $line-basic: 1px solid #dddddd; background: transparent; overflow: auto; -webkit-overflow-scrolling: touch; + } - .file-drop-zone-container { - position: relative; + .file-drop-zone-container { + position: relative; - .file-drop-zone { - position: absolute; - border: 2px solid gray; - background-color: white; - width: 600px; - height: 150px; - bottom: 0px; - margin: auto; - left: 0px; - right: 0px; - } + .file-drop-zone { + position: absolute; + border: 2px solid gray; + background-color: white; + width: 600px; + height: 150px; + bottom: 0px; + margin: auto; + left: 0px; + right: 0px; } } } diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts index d543978b..feb12ced 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts @@ -241,10 +241,13 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewChecked { ImageViewerDialogResult >(ImageViewerDialogComponent, { position: { - top: '10px' + top: '30px' }, + maxWidth: '100vw', + maxHeight: '100vh', + height: 'calc(100% - 30px)', width: '100%', - height: '98%', + hasBackdrop: false, data: {} }); }