mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 12:22:26 -08:00
Merge pull request #14156 from AUTOMATIC1111/metadata-pop-up-size-limit
fix not able to exit metadata popup when pop up is too big
This commit is contained in:
commit
600036d158
2 changed files with 8 additions and 0 deletions
|
|
@ -392,3 +392,9 @@ function extraNetworksRefreshSingleCard(page, tabname, name) {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
window.addEventListener("keydown", function(event) {
|
||||
if (event.key == "Escape") {
|
||||
closePopup();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -646,6 +646,8 @@ table.popup-table .link{
|
|||
margin: auto;
|
||||
padding: 2em;
|
||||
z-index: 1001;
|
||||
max-height: 90%;
|
||||
max-width: 90%;
|
||||
}
|
||||
|
||||
/* fullpage image viewer */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue