Unverified Commit 600036d1 authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub
Browse files

Merge pull request #14156 from AUTOMATIC1111/metadata-pop-up-size-limit

fix not able to exit metadata popup when pop up is too big
parents 41255527 01c8f180
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -392,3 +392,9 @@ function extraNetworksRefreshSingleCard(page, tabname, name) {
        }
    });
}

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

/* fullpage image viewer */