Control img size in modal box

This commit is contained in:
Yohan Boniface 2019-04-02 21:19:14 +02:00
parent 44bfa0d730
commit 72cad21536

View file

@ -426,6 +426,7 @@ hr {
padding: 5px;
z-index: 100;
text-align: center;
overflow-y: auto;
}
.toggle-background {
position: fixed;
@ -441,6 +442,9 @@ hr {
cursor: pointer;
display: none;
}
.toggle-container img {
max-width: 100%;
}
.toggle:checked ~ .toggle-background,
.toggle:checked ~ .toggle-container {
display: block;