fix: adjust floating button position

This commit is contained in:
dragonwocky 2024-06-02 14:09:27 +10:00
parent d8bc86c943
commit d459455f3d
Signed by: dragonwocky
GPG Key ID: 7998D08F7D7BD7A8

View File

@ -15,7 +15,7 @@ const setupWrapper = () => {
if (!$notionAi) return;
const $wrapper = html`<div
class="notion-enhancer--floating-buttons z-50 gap-[12px]
flex absolute bottom-[calc(26px+env(safe-area-inset-bottom))]"
flex absolute bottom-[calc(16px+env(safe-area-inset-bottom))]"
></div>`;
removeMutationListener(addToDom);
$notionAi.after($wrapper);