Properly handle closing click events in modals

This commit is contained in:
Fedor Indutny 2022-09-14 18:58:35 -07:00 committed by GitHub
parent b348bf9b70
commit 635840cd99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 257 additions and 178 deletions

View file

@ -7490,18 +7490,24 @@ button.module-image__border-overlay:focus {
.module-modal-host__overlay-container {
display: flex;
flex-direction: column;
flex-direction: row;
width: var(--window-width);
height: var(--window-height);
left: var(--window-border);
top: var(--titlebar-height);
justify-content: center;
align-items: center;
overflow: hidden;
padding: 20px;
position: fixed;
z-index: $z-index-modal-host;
}
.module-modal-host__width-container {
max-width: 360px;
width: 95%;
}
.module-modal-host--on-top-of-everything {
$loading-screen-modal-overlay: $z-index-on-top-of-everything + 1;