mirror of
https://github.com/9001/copyparty.git
synced 2026-06-19 04:32:26 -06:00
fix modals after moving them inside wrap div
This commit is contained in:
parent
ae5a0be3bd
commit
87fd073199
|
|
@ -4703,11 +4703,10 @@ html.e #tree_footer {
|
|||
background: transparent;
|
||||
}
|
||||
html.e #wrap {
|
||||
transform: translateX(calc((var(--negative-space) * 2) - .2em));
|
||||
padding-right: var(--negative-space);
|
||||
position: relative;
|
||||
margin-right: calc((var(--negative-space) * 2) - .1em);
|
||||
margin-left: -6px;
|
||||
margin-right: 0;
|
||||
margin-left: -10px;
|
||||
margin-top: 0;
|
||||
/*overflow-x: auto; fix for OOB table when screen space is limited (mobile), but removes sticky header*/
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1604,7 +1604,8 @@ function goto(dest) {
|
|||
|
||||
clmod(document.documentElement, 'op_open', dest);
|
||||
// enables the use of keyboard page nav on modals
|
||||
clmod(document.documentElement, 'noscroll', QS('.modal.vis') && QS('.modal.vis').style.position == 'fixed');
|
||||
var a_modal = QS('.modal.vis');
|
||||
clmod(document.documentElement, 'noscroll', a_modal && window.getComputedStyle(a_modal).position == 'fixed');
|
||||
|
||||
if (treectl)
|
||||
treectl.onscroll();
|
||||
|
|
|
|||
Loading…
Reference in a new issue