make live previews play nice with window/slider resizes

This commit is contained in:
AUTOMATIC1111
2023-08-20 13:38:35 +03:00
parent a0d721e109
commit db5c304e29
3 changed files with 15 additions and 25 deletions

View File

@@ -499,11 +499,15 @@ table.popup-table .link{
/* live preview */
.progressDiv{
position: relative;
position: absolute;
height: 20px;
background: #b4c0cc;
border-radius: 3px !important;
margin-bottom: -3px;
top: -20px;
}
[id$=_results].mobile{
margin-top: 28px;
}
.dark .progressDiv{
@@ -528,12 +532,9 @@ table.popup-table .link{
.livePreview{
position: absolute;
z-index: 300;
background-color: white;
margin: -4px;
}
.dark .livePreview{
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
background: var(--background-fill-primary);
width: 100%;
height: 100%;
}
.livePreview img{