aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-20 13:38:35 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2023-08-20 13:38:35 +0300
commitdb5c304e2968b5c16810900b9a63cfcf7e205e20 (patch)
treee5f6b024e54d5ef35e87925213f2610b0dda45cd /style.css
parenta0d721e109d7c7b75aefaf3853f7bf58da43847b (diff)
make live previews play nice with window/slider resizes
Diffstat (limited to 'style.css')
-rw-r--r--style.css17
1 files changed, 9 insertions, 8 deletions
diff --git a/style.css b/style.css
index 38a01e72..5cd9f9c2 100644
--- a/style.css
+++ b/style.css
@@ -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{