From 3fe162c680364c51c2ae6964ae04d323b504df68 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Tue, 28 Feb 2023 19:07:23 -0500 Subject: [PATCH] Quick fix modal overflowing at the bottom if error too large. --- webshit/index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webshit/index.html b/webshit/index.html index 73f6256e2..410fb744d 100644 --- a/webshit/index.html +++ b/webshit/index.html @@ -23,9 +23,10 @@ display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 100; /* Sit on top */ - left: 50%; /* Center the modal horizontally */ - top: 50%; /* Center the modal vertically */ - transform: translate(-50%, -50%); /* Use this to center the modal */ + left: 20%; /* Center the modal horizontally */ + right: 20%; /* Center the modal horizontally */ + bottom: 30%; /* Center the modal vertically */ +/* transform: translate(-50%, -50%); /* Use this to center the modal */ */ width: 50%; /* Set a width for the modal */ height: auto; /* Set a height for the modal */ padding: 30px;