{t('settings.memory.editor')}
MARKDOWN
@@ -375,12 +375,12 @@ export function MemorySettings() {
value={draftContent}
onChange={(event) => updateDraft(event.target.value)}
spellCheck={false}
- className="h-[calc(100%-40px)] w-full resize-none overflow-auto bg-transparent p-5 font-mono text-[13px] leading-6 text-[var(--color-text-primary)] outline-none placeholder:text-[var(--color-text-tertiary)]"
+ className="min-h-0 flex-1 w-full resize-none overflow-auto bg-transparent p-5 font-mono text-[13px] leading-6 text-[var(--color-text-primary)] outline-none placeholder:text-[var(--color-text-tertiary)]"
/>
) : (
-
-
+
+
{t('settings.memory.preview')}
{t('settings.memory.rendered')}
@@ -395,7 +395,7 @@ export function MemorySettings() {
icon={
}
/>
-
+
)
) : (
-
+
} text={isLoadingFile ? t('common.loading') : t('settings.memory.selectFile')} />
)}