fix: 修复统计报表移动端适屏问题
- Shell main 添加 min-w-0 overflow-x-hidden 防止 flex 子元素溢出 - trend API 排除当天数据 (stat_date < CURDATE()),只返回前7天 - StatisticsView 移除移动端 overflow-hidden,改为仅 landscape 模式 - 图表和列表卡片在移动端正确显示全宽内容 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -58,7 +58,7 @@ export function Shell({ modules }: { modules: ModuleConfig[] }) {
|
||||
</nav>
|
||||
|
||||
{/* 内容区 */}
|
||||
<main className="flex-1 md:ml-16 pb-16 md:pb-0">
|
||||
<main className="flex-1 md:ml-16 pb-16 md:pb-0 min-w-0 overflow-x-hidden">
|
||||
{ActiveComponent && <ActiveComponent />}
|
||||
</main>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user