Skip to content

Commit

Permalink
Merge pull request #14156 from AUTOMATIC1111/metadata-pop-up-size-limit
Browse files Browse the repository at this point in the history
fix not able to exit metadata popup when pop up is too big
  • Loading branch information
AUTOMATIC1111 committed Dec 2, 2023
2 parents 4125552 + 01c8f18 commit 600036d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions javascript/extraNetworks.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,3 +392,9 @@ function extraNetworksRefreshSingleCard(page, tabname, name) {
}
});
}

window.addEventListener("keydown", function(event) {
if (event.key == "Escape") {
closePopup();
}
});
2 changes: 2 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,8 @@ table.popup-table .link{
margin: auto;
padding: 2em;
z-index: 1001;
max-height: 90%;
max-width: 90%;
}

/* fullpage image viewer */
Expand Down

0 comments on commit 600036d

Please sign in to comment.