mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 10:51:03 -08:00
feat: better lightbox when not enable zoom
This commit is contained in:
parent
0cc0ee1bcb
commit
db85421da1
2 changed files with 2 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ function showModal(event) {
|
|||
if (modalImage.style.display === 'none') {
|
||||
lb.style.setProperty('background-image', 'url(' + source.src + ')');
|
||||
}
|
||||
lb.style.display = "block";
|
||||
lb.style.display = "flex";
|
||||
lb.focus()
|
||||
|
||||
const tabTxt2Img = gradioApp().getElementById("tab_txt2img")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue