fix jumping login window layout
This commit is contained in:
parent
3c613d9960
commit
da9ead7db7
1 changed files with 1 additions and 2 deletions
|
|
@ -251,7 +251,7 @@ export function AuthLayout() {
|
|||
pageHeight: page.clientHeight,
|
||||
mascotTopOffset: readPx(s, '--vojo-mascot-top'),
|
||||
mascotHeight: mascot.offsetHeight,
|
||||
modalHeight: modal.offsetHeight,
|
||||
modalHeight: modal.scrollHeight,
|
||||
footerHeight: footer.offsetHeight || readPx(s, '--vojo-footer-space', footer.offsetHeight),
|
||||
anchorRatio: readNum(s, '--vojo-anchor-ratio', 0.58),
|
||||
minTop: readPx(s, '--vojo-modal-min-top'),
|
||||
|
|
@ -269,7 +269,6 @@ export function AuthLayout() {
|
|||
const ro = new ResizeObserver(update);
|
||||
ro.observe(page);
|
||||
ro.observe(mascot);
|
||||
ro.observe(modal);
|
||||
ro.observe(footer);
|
||||
window.addEventListener('resize', update);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue