fix(export): align collapsed format selector

This commit is contained in:
aits2026
2026-03-06 14:19:27 +08:00
parent 6253def76c
commit 98a3b06e56
2 changed files with 2 additions and 1 deletions

View File

@@ -2861,6 +2861,7 @@
.dialog-format-select { .dialog-format-select {
position: relative; position: relative;
min-width: 220px; min-width: 220px;
margin-left: auto;
} }
.dialog-format-dropdown { .dialog-format-dropdown {

View File

@@ -4917,7 +4917,7 @@ function ExportPage() {
const isSessionScopeDialog = exportDialog.scope === 'single' || exportDialog.scope === 'multi' const isSessionScopeDialog = exportDialog.scope === 'single' || exportDialog.scope === 'multi'
const isContentScopeDialog = exportDialog.scope === 'content' const isContentScopeDialog = exportDialog.scope === 'content'
const isContentTextDialog = isContentScopeDialog && exportDialog.contentType === 'text' const isContentTextDialog = isContentScopeDialog && exportDialog.contentType === 'text'
const useCollapsedSessionFormatSelector = isSessionScopeDialog const useCollapsedSessionFormatSelector = isSessionScopeDialog || isContentTextDialog
const shouldShowFormatSection = !isContentScopeDialog || isContentTextDialog const shouldShowFormatSection = !isContentScopeDialog || isContentTextDialog
const shouldShowMediaSection = !isContentScopeDialog const shouldShowMediaSection = !isContentScopeDialog
const avatarExportStatusLabel = options.exportAvatars ? '已开启聊天消息导出带头像' : '已关闭聊天消息导出带头像' const avatarExportStatusLabel = options.exportAvatars ? '已开启聊天消息导出带头像' : '已关闭聊天消息导出带头像'