feat(webui): improve AGENTS.md editor placeholder and read-only notice (#310)

* feat(webui): improve AGENTS.md editor placeholder and read-only notice

* docs: add AGENTS.md documentation under Shumai Agent Settings
This commit is contained in:
Yiling-J
2026-08-15 11:00:30 +08:00
committed by GitHub
parent 1cee103b1c
commit ae86d56a7d
12 changed files with 251 additions and 29 deletions
@@ -97,10 +97,13 @@
position: absolute;
top: 16px;
left: 16px;
right: 16px;
color: var(--muted-foreground, #94a3b8);
pointer-events: none;
user-select: none;
font-size: 15px;
line-height: 1.7;
white-space: pre-wrap;
}
/* Typography styles in WYSIWYG mode */
@@ -132,7 +132,7 @@ export function MarkdownEditor({
{!readOnly && !hideToolbar ? (
<ToolbarPlugin rightContent={rightToolbarContent} />
) : rightToolbarContent ? (
<div className="shumai-editor-toolbar flex items-center justify-end px-3 py-1.5 border-b">
<div className="shumai-editor-toolbar flex items-center justify-between px-3 py-1.5 border-b">
{rightToolbarContent}
</div>
) : null}