style: 移动端响应式优化:MCPPlugins页面完整重构、多处Modal弹窗适配、项目卡片单列显示

This commit is contained in:
xiamuceer-j
2026-01-14 19:48:18 +08:00
parent fb16cc4072
commit dc3dbaaf2c
8 changed files with 188 additions and 99 deletions
+7 -9
View File
@@ -635,21 +635,19 @@ export default function ChapterAnalysis({ chapterId, visible, onClose }: Chapter
title="章节分析"
open={visible}
onCancel={onClose}
width={isMobile ? '100%' : '90%'}
centered={!isMobile}
width={isMobile ? 'calc(100vw - 32px)' : '90%'}
centered
style={{
maxWidth: isMobile ? '100%' : '1400px',
paddingBottom: 0,
top: isMobile ? 0 : undefined,
margin: isMobile ? 0 : undefined,
maxHeight: isMobile ? '100vh' : undefined
maxWidth: isMobile ? 'calc(100vw - 32px)' : '1400px',
margin: isMobile ? '0 auto' : undefined,
padding: isMobile ? '0 16px' : undefined
}}
styles={{
body: {
padding: isMobile ? '12px' : '24px',
paddingBottom: 0,
maxHeight: isMobile ? 'calc(100vh - 110px)' : undefined,
overflowY: isMobile ? 'auto' : undefined
maxHeight: isMobile ? 'calc(100vh - 200px)' : 'calc(90vh - 150px)',
overflowY: 'auto'
}
}}
footer={[