mirror of
https://github.com/almet/copanier.git
synced 2025-04-29 12:02:37 +02:00
Control img size in modal box
This commit is contained in:
parent
44bfa0d730
commit
72cad21536
1 changed files with 4 additions and 0 deletions
|
@ -426,6 +426,7 @@ hr {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
.toggle-background {
|
.toggle-background {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -441,6 +442,9 @@ hr {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
.toggle-container img {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
.toggle:checked ~ .toggle-background,
|
.toggle:checked ~ .toggle-background,
|
||||||
.toggle:checked ~ .toggle-container {
|
.toggle:checked ~ .toggle-container {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
Loading…
Reference in a new issue