diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-19 05:32:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-19 05:32:45 +0000 |
commit | 58a90824115d75d25c593606d94f89097c657ffb (patch) | |
tree | 5cb956f61234553901fa73ce00602ceb20ae798e | |
parent | 99a64edea8d77a609613b86f1a13bc749bd84374 (diff) | |
parent | 13f1357b7f1e7721d73a56b20a9f5a61472eabba (diff) | |
download | stable-diffusion-webui-gfx803-58a90824115d75d25c593606d94f89097c657ffb.tar.gz stable-diffusion-webui-gfx803-58a90824115d75d25c593606d94f89097c657ffb.tar.bz2 stable-diffusion-webui-gfx803-58a90824115d75d25c593606d94f89097c657ffb.zip |
Merge pull request #12635 from catboxanon/fix/full-page-img
Make image viewer actually fit the whole page
-rw-r--r-- | style.css | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -609,13 +609,19 @@ table.popup-table .link{ display: flex;
gap: 1em;
padding: 1em;
- background-color: rgba(0,0,0,0.2);
+ background-color:rgba(0,0,0,0);
+ z-index: 1;
+ transition: 0.2s ease background-color;
+}
+.modalControls:hover {
+ background-color:rgba(0,0,0,0.9);
}
.modalClose {
margin-left: auto;
}
.modalControls span{
color: white;
+ text-shadow: 0px 0px 0.25em black;
font-size: 35px;
font-weight: bold;
cursor: pointer;
@@ -640,6 +646,13 @@ table.popup-table .link{ min-height: 0;
}
+#modalImage{
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translateX(-50%) translateY(-50%);
+}
+
.modalPrev,
.modalNext {
cursor: pointer;
|