From 960f53ab54c52e08f3fb5f0e5b84966009e12227 Mon Sep 17 00:00:00 2001 From: Damien Broqua Date: Fri, 5 Jan 2024 12:30:54 +0100 Subject: [PATCH] {BUGFIX} For image in modal --- sass/modal.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sass/modal.scss b/sass/modal.scss index e76be5e..adc0e27 100644 --- a/sass/modal.scss +++ b/sass/modal.scss @@ -69,8 +69,9 @@ position: relative; width: 300px; margin: 0 auto; - display: flex; - flex-direction: column; + // display: flex; + // flex-direction: column; + text-align: center; max-height: calc(100vh - 40px); overflow: hidden; @@ -132,5 +133,9 @@ margin-right: .5em; } } + img { + max-width: 100%; + max-height: 100%; + } } } \ No newline at end of file