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) => {