fix: 修复单图模式预览区遮挡导出预览 + 下载按钮宽度

1. 布局重构:右侧主区域改为上下排列(原图预览在上、导出预览在下),
   chartArea 高度 600→420px,导出预览不再被遮挡
2. 下载按钮:根因是 .btn-success 自带 flex:1 把按钮拉伸占满,已用
   flex:0 0 auto + width:auto 覆盖,189px→58px
This commit is contained in:
2026-08-19 13:09:51 +08:00
parent 6a696daeb8
commit 68e4b72d46
3 changed files with 28 additions and 16 deletions
+2 -2
View File
@@ -919,7 +919,7 @@ app.get('/api/health', (req, res) => {
res.json({
status: 'ok',
service: 'data-chart-tool',
version: '1.11.0',
version: '1.11.1',
endpoints: {
'POST /api/chart': '生成图表图片(JSON body',
'GET /api/chart': '生成图表图片(URL 参数)',
@@ -934,7 +934,7 @@ app.get('/api/health', (req, res) => {
app.get('/api/docs', (req, res) => {
res.json({
name: '数据可视化图表生成器 API',
version: '1.11.0',
version: '1.11.1',
endpoints: [
{
method: 'POST',