Fix img2img aspect ratio overlay in Gradio 3.23.0

This commit is contained in:
space-nuko
2023-03-25 14:44:41 -04:00
parent 91ae48fd7e
commit 945f6e5e99
2 changed files with 36 additions and 22 deletions

View File

@@ -507,6 +507,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{