aboutsummaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
authormissionfloyd <missionfloyd@users.noreply.github.com>2023-10-03 04:22:15 +0000
committermissionfloyd <missionfloyd@users.noreply.github.com>2023-10-03 04:22:15 +0000
commit86a46e81892c72cc50f9a37dfb1ca285f189134d (patch)
treef261b68cd5cebbd7f718285eacd515a973944bb4 /style.css
parent5ef669de080814067961f28357256e8fe27544f4 (diff)
downloadstable-diffusion-webui-gfx803-86a46e81892c72cc50f9a37dfb1ca285f189134d.tar.gz
stable-diffusion-webui-gfx803-86a46e81892c72cc50f9a37dfb1ca285f189134d.tar.bz2
stable-diffusion-webui-gfx803-86a46e81892c72cc50f9a37dfb1ca285f189134d.zip
Fix accidentally closing popup dialogs
Diffstat (limited to 'style.css')
-rw-r--r--style.css14
1 files changed, 10 insertions, 4 deletions
diff --git a/style.css b/style.css
index fb4e2f1f..e034ecfd 100644
--- a/style.css
+++ b/style.css
@@ -581,7 +581,6 @@ table.popup-table .link{
width: 100%;
height: 100%;
overflow: auto;
- background-color: rgba(20, 20, 20, 0.95);
}
.global-popup *{
@@ -590,9 +589,6 @@ table.popup-table .link{
.global-popup-close:before {
content: "×";
-}
-
-.global-popup-close{
position: fixed;
right: 0.25em;
top: 0;
@@ -601,10 +597,20 @@ table.popup-table .link{
font-size: 32pt;
}
+.global-popup-close{
+ position: fixed;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ background-color: rgba(20, 20, 20, 0.95);
+}
+
.global-popup-inner{
display: inline-block;
margin: auto;
padding: 2em;
+ z-index: 1001;
}
/* fullpage image viewer */