aboutsummaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
authorinnovaciones <sonygarcia99@gmail.com>2022-09-23 17:47:13 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2022-09-23 20:41:10 +0000
commit6cd613811bc2a02909aa27614941aab6ab3eda4c (patch)
treec6c32288c9a48c1748b310c62543b8a63eb60571 /style.css
parente560eb8b60f01cb44fc84ab44d9719fcc92a1288 (diff)
downloadstable-diffusion-webui-gfx803-6cd613811bc2a02909aa27614941aab6ab3eda4c.tar.gz
stable-diffusion-webui-gfx803-6cd613811bc2a02909aa27614941aab6ab3eda4c.tar.bz2
stable-diffusion-webui-gfx803-6cd613811bc2a02909aa27614941aab6ab3eda4c.zip
Fix preview images position
Diffstat (limited to 'style.css')
-rw-r--r--style.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/style.css b/style.css
index e4fe5453..f9b9c1f6 100644
--- a/style.css
+++ b/style.css
@@ -154,9 +154,22 @@ button{
right: 0;
margin-left: auto;
margin-right: auto;
+ margin-top: 35px;
z-index: 100;
}
+@media screen and (min-width: 768px) {
+ #txt2img_preview, #img2img_preview {
+ position: absolute;
+ }
+}
+
+@media screen and (max-width: 767px) {
+ #txt2img_preview, #img2img_preview {
+ position: relative;
+ }
+}
+
#txt2img_preview div.left-0.top-0, #img2img_preview div.left-0.top-0{
display: none;
}