images history improvement

This commit is contained in:
yfszzx 2022-10-13 00:27:45 +08:00
parent a2aa2a68bc
commit 717ba4c71c
2 changed files with 3 additions and 3 deletions

View file

@ -172,7 +172,7 @@ function images_history_init(){
} }
var images_history_tab_list = ["txt2img", "img2img", "extras"]; var images_history_tab_list = ["txt2img", "img2img", "extras"];
setTimeout(images_history_init, 500) setTimeout(images_history_init, 500);
document.addEventListener("DOMContentLoaded", function() { document.addEventListener("DOMContentLoaded", function() {
var mutationObserver = new MutationObserver(function(m){ var mutationObserver = new MutationObserver(function(m){
for (var i in images_history_tab_list ){ for (var i in images_history_tab_list ){

View file

@ -20,7 +20,7 @@
padding-right: 0.25em; padding-right: 0.25em;
margin: 0.1em 0; margin: 0.1em 0;
opacity: 0%; opacity: 0%;
cursor: default; cursor: default;
} }
.output-html p {margin: 0 0.5em;} .output-html p {margin: 0 0.5em;}
@ -442,7 +442,7 @@ input[type="range"]{
} }
.red { .red {
color: red; color: red;
} }
.gallery-item { .gallery-item {