{BUGFIX} For image in modal

This commit is contained in:
Damien Broqua 2024-01-05 12:30:54 +01:00
parent 6994170a04
commit 960f53ab54

View File

@ -69,8 +69,9 @@
position: relative; position: relative;
width: 300px; width: 300px;
margin: 0 auto; margin: 0 auto;
display: flex; // display: flex;
flex-direction: column; // flex-direction: column;
text-align: center;
max-height: calc(100vh - 40px); max-height: calc(100vh - 40px);
overflow: hidden; overflow: hidden;
@ -132,5 +133,9 @@
margin-right: .5em; margin-right: .5em;
} }
} }
img {
max-width: 100%;
max-height: 100%;
}
} }
} }