From efc1028658b2634871fcb19829c3d90da2b7de37 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 7 Feb 2026 11:41:02 +0800 Subject: [PATCH] :iphone: --- app/src/mobile/util/keyboardToolbar.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/mobile/util/keyboardToolbar.ts b/app/src/mobile/util/keyboardToolbar.ts index d8e33e8ce..7b10f91a3 100644 --- a/app/src/mobile/util/keyboardToolbar.ts +++ b/app/src/mobile/util/keyboardToolbar.ts @@ -317,7 +317,7 @@ const hideKeyboardToolbarUtil = () => { toolbarElement.style.height = ""; const editor = getCurrentEditor(); if (editor) { - editor.protyle.element.parentElement.style.paddingBottom = "42px"; + editor.protyle.element.parentElement.style.paddingBottom = "48px"; } toolbarElement.querySelector('.keyboard__action[data-type="add"]').classList.remove("protyle-toolbar__item--current"); toolbarElement.querySelector('.keyboard__action[data-type="text"]').classList.remove("protyle-toolbar__item--current"); @@ -435,12 +435,12 @@ export const showKeyboardToolbar = () => { toolbarElement.style.zIndex = (++window.siyuan.zIndex).toString(); const modelElement = document.getElementById("model"); if (modelElement.style.transform === "translateY(0px)") { - modelElement.style.paddingBottom = "42px"; + modelElement.style.paddingBottom = "48px"; } const range = getSelection().getRangeAt(0); const editor = getCurrentEditor(); if (editor && editor.protyle.wysiwyg.element.contains(range.startContainer)) { - editor.protyle.element.parentElement.style.paddingBottom = "42px"; + editor.protyle.element.parentElement.style.paddingBottom = "48px"; } getCurrentEditor().protyle.app.plugins.forEach(item => { item.eventBus.emit("mobile-keyboard-show");