From 796e00ae830571b05ef2d5db20992711879e1bbf Mon Sep 17 00:00:00 2001 From: leejinho Date: Tue, 11 Feb 2020 16:20:44 +0900 Subject: [PATCH] =?UTF-8?q?bugfix=20::=20=EB=8C=80=ED=99=94=EB=B0=A9,=20?= =?UTF-8?q?=EC=95=A8=EB=B2=94=ED=95=A8=EC=97=90=20=EC=9D=B4=EB=AF=B8?= =?UTF-8?q?=EC=A7=80=20=EB=AD=89=EA=B2=8C=EC=A7=90=20=ED=98=84=EC=83=81=20?= =?UTF-8?q?=EC=88=98=EC=A0=95.=201.=20=EC=95=A8=EB=B2=94=ED=95=A8=20:=20?= =?UTF-8?q?=EB=A6=AC=EC=8A=A4=ED=8A=B8=EC=97=90=20=EA=B0=80=EB=A1=9C?= =?UTF-8?q?=EC=84=B8=EB=A1=9C=20=EA=B3=A0=EC=A0=95=ED=95=A8=EC=97=90=20?= =?UTF-8?q?=EC=9D=98=ED=95=B4=EC=84=9C=20=EB=B9=84=EC=9C=A8=20=EA=B9=A8?= =?UTF-8?q?=EC=A7=90.=202.=20=EB=8C=80=ED=99=94=EB=B0=A9=20:=20=EB=86=92?= =?UTF-8?q?=EC=9D=B4=EA=B0=80=20=EC=9E=91=EC=9D=80=20=EC=9D=B4=EB=AF=B8?= =?UTF-8?q?=EC=A7=80=EB=A5=BC=20=EA=B0=95=EC=A0=9C=EB=A1=9C=20140=20?= =?UTF-8?q?=EA=B9=8C=EC=A7=80=20=ED=82=A4=EC=9A=B0=EB=A9=B4=EC=84=9C=20?= =?UTF-8?q?=EC=83=9D=EA=B8=B4=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EC=97=B4?= =?UTF-8?q?=ED=99=94.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/right-drawer/album-box.component.scss | 4 ++-- .../src/lib/components/message-box/image.component.scss | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/right-drawer/album-box.component.scss b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/right-drawer/album-box.component.scss index fff6586f..60c97d80 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/right-drawer/album-box.component.scss +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/right-drawer/album-box.component.scss @@ -101,8 +101,8 @@ $tablet-s-width: 768px; border: 1px dotted #cccccc; box-sizing: border-box; img { - width: 100%; - height: 100%; + max-width: 100%; + max-height: 100%; } } dd { diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/image.component.scss b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/image.component.scss index 5d3d13e0..bdce0620 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/image.component.scss +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/image.component.scss @@ -3,7 +3,8 @@ position: relative; img { - height: 140px; + max-height: 140px; + min-height: 20px; width: auto; }