Quick fix modal overflowing at the bottom if error too large.

This commit is contained in:
comfyanonymous 2023-02-28 19:07:23 -05:00
parent 9502ee45c3
commit 3fe162c680

View File

@ -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;