mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-03 14:54:23 +00:00
Merge pull request #8156 from bluelovers/pr/lightbox-001
feat: better lightbox when not enable zoom
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user