mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 19:42: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;
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue