override min-width constraints to fix modal hiding on narrow mobile screens

This commit is contained in:
Russell Ballestrini 2025-06-30 11:51:24 -04:00
parent 08eae89f5b
commit 0cc64921cf

View file

@ -1000,6 +1000,8 @@ function openHermesModal() {
modal.style.cssText += `
width: 100%;
height: 100%;
min-width: 0;
max-width: none;
`;
}
@ -1019,6 +1021,10 @@ function openHermesModal() {
flex-direction: column;
transform: scale(0.75);
transform-origin: center;
margin: 0;
padding: 0;
min-width: 0;
max-width: none;
`;
}
modal.appendChild(article);