From 1c274768a70bd6f92533568497ad70cec086f53b Mon Sep 17 00:00:00 2001 From: Chneemann Date: Fri, 31 May 2024 20:41:58 +0200 Subject: [PATCH] bugfix overlay --- .../shared/components/overlay/overlay.component.scss | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/app/shared/components/overlay/overlay.component.scss b/src/app/shared/components/overlay/overlay.component.scss index a5d07a1..9e956be 100644 --- a/src/app/shared/components/overlay/overlay.component.scss +++ b/src/app/shared/components/overlay/overlay.component.scss @@ -16,16 +16,22 @@ display: flex; align-items: center; justify-content: center; - width: 75%; + width: auto; height: auto; + max-height: 80%; + max-width: 80%; img { - width: 100%; + width: auto; height: auto; + max-height: 100%; + max-width: 100%; border-radius: 12px; } video { - width: 100%; + width: auto; height: auto; + max-height: 100%; + max-width: 100%; } }