Merge pull request #8938 from space-nuko/fix-image-ar-overlay

Fix img2img aspect ratio overlay in Gradio 3.23.0
This commit is contained in:
AUTOMATIC1111
2023-03-27 07:06:24 +03:00
committed by GitHub
2 changed files with 36 additions and 22 deletions

View File

@@ -520,6 +520,17 @@ div.dimensions-tools{
background-color: rgba(0, 0, 0, 0.8);
}
#imageARPreview {
position: absolute;
top: 0px;
left: 0px;
border: 2px solid red;
background: rgba(255, 0, 0, 0.3);
z-index: 900;
pointer-events: none;
display: none;
}
/* context menu (ie for the generate button) */
#context-menu{