From 9445a806ba94d8f792c25110384eea5308781e87 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 8 Mar 2024 16:52:26 +0800 Subject: [PATCH] :iphone: https://github.com/siyuan-note/siyuan/issues/10472 --- app/src/ai/actions.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/ai/actions.ts b/app/src/ai/actions.ts index 25aa43325..f076c5c2b 100644 --- a/app/src/ai/actions.ts +++ b/app/src/ai/actions.ts @@ -229,6 +229,12 @@ export const AIActions = (elements: Element[], protyle: IProtyle) => { `, bind(element) { + /// #if MOBILE + element.setAttribute("style", "height: 100%;padding: 0 16px;"); + element.querySelectorAll(".b3-menu__separator").forEach(item => { + item.remove(); + }) + /// #endif const listElement = element.querySelector(".b3-list"); const inputElement = element.querySelector("input"); inputElement.addEventListener("keydown", (event: KeyboardEvent) => {