diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-20 10:38:35 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-20 10:38:35 +0000 |
commit | db5c304e2968b5c16810900b9a63cfcf7e205e20 (patch) | |
tree | e5f6b024e54d5ef35e87925213f2610b0dda45cd /style.css | |
parent | a0d721e109d7c7b75aefaf3853f7bf58da43847b (diff) | |
download | stable-diffusion-webui-gfx803-db5c304e2968b5c16810900b9a63cfcf7e205e20.tar.gz stable-diffusion-webui-gfx803-db5c304e2968b5c16810900b9a63cfcf7e205e20.tar.bz2 stable-diffusion-webui-gfx803-db5c304e2968b5c16810900b9a63cfcf7e205e20.zip |
make live previews play nice with window/slider resizes
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -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{
|