Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

246 B
Raw Blame
// 键盘与菜单交接期间固定工具栏上沿,剩余空间随可见视口变化。
export const getKeyboardPanelHeight = (viewportBottom: number, panelTop: number, barHeight: number) =>
    Math.max(barHeight, viewportBottom - panelTop);