From 28e1b0a9236f0b7644e021fa01deb7ed6f669343 Mon Sep 17 00:00:00 2001 From: khk Date: Wed, 12 Feb 2020 10:33:31 +0900 Subject: [PATCH] =?UTF-8?q?image-viewer=20=EC=8A=A4=ED=81=AC=EB=A1=A4=20?= =?UTF-8?q?=EC=83=89=EC=83=81=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../messenger/components/messages.component.scss | 2 +- .../file-viewer/image-viewer.component.scss | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) 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 eda01c00..1a00ed04 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 @@ -1,4 +1,4 @@ -@charset 'utf-s'; +@charset 'utf-8'; :host { display: flex; width: 100%; diff --git a/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/image-viewer.component.scss b/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/image-viewer.component.scss index 64080f7f..887f6703 100644 --- a/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/image-viewer.component.scss +++ b/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/image-viewer.component.scss @@ -49,6 +49,22 @@ position: absolute; max-width: none !important; } + + &::-webkit-scrollbar { + background-color: rgba(0, 0, 0, 0.7); + } + &::-webkit-scrollbar-corner { + background-color: rgba(0, 0, 0, 0.7); + } + &::-webkit-scrollbar:hover { + background-color: rgba(255, 255, 255, 0.12); + } + &::-webkit-scrollbar-thumb { + box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.37); + } + &::-webkit-scrollbar-thumb:active { + box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.54); + } } } }