diff --git a/src/email-recovery.js b/src/email-recovery.js index ea9d79741c93c2336c4a3868489dbb6a44ae5eb3..aa7818679941f30451ad3ef0a4bea19d1d050715 100644 --- a/src/email-recovery.js +++ b/src/email-recovery.js @@ -27,6 +27,16 @@ document.addEventListener('DOMContentLoaded', function() { } else { setMarginTopAndHeight('#content-vue', topHeight) } + // added special case for bookmarks + if (window.location.href.includes('apps/bookmarks/')) { + const intervalId = setInterval(() => { + const contentVue = document.querySelector('#content-vue') + if (contentVue) { + setMarginTopAndHeight('#content-vue', topHeight) + clearInterval(intervalId) + } + }, 100) + } setTopStyleWhenElementAvailable('#header-menu-user-menu', topHeight) setTopStyleWhenElementAvailable('#header-menu-notifications', topHeight) setTopStyle('#header-menu-unified-search', topHeight)