Merge pull request #616 from dfaker/patch-3

Block event propagation when lightbox is triggered
This commit is contained in:
AUTOMATIC1111
2022-09-17 20:30:25 +03:00
committed by GitHub
2 changed files with 104 additions and 7 deletions

View File

@@ -248,3 +248,29 @@ input[type="range"]{
width: auto;
}
.modalPrev,
.modalNext {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -50px;
color: white;
font-weight: bold;
font-size: 20px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
-webkit-user-select: none;
}
.modalNext {
right: 0;
border-radius: 3px 0 0 3px;
}
.modalPrev:hover,
.modalNext:hover {
background-color: rgba(0, 0, 0, 0.8);
}