override min-width constraints to fix modal hiding on narrow mobile screens
This commit is contained in:
parent
08eae89f5b
commit
0cc64921cf
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue