mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-29 20:34:28 +00:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user