From: wang.yu Date: Wed, 19 Aug 2026 08:07:12 +0000 (+0800) Subject: 修复 Cube 编辑器表格操作按钮溢出导致右侧面板浮起的问题 X-Git-Url: http://acesimba.cloud/gitweb/?a=commitdiff_plain;h=6ded1816e48aa48babaabd4c12c51a654ea7280c;p=StationBuilder.git 修复 Cube 编辑器表格操作按钮溢出导致右侧面板浮起的问题 --- diff --git a/app/globals.css b/app/globals.css index a6aa1a6..6c91e25 100644 --- a/app/globals.css +++ b/app/globals.css @@ -116,8 +116,15 @@ .mu-items label input{margin-top:2px;accent-color:var(--blue)} .mu-items label span{display:flex;flex-direction:column;line-height:1.3} .mu-items label small{color:var(--muted);font-size:10px} +.two-column>div:first-child{min-width:0} +.cube-editor{overflow-x:auto} .cube-editor table{width:100%} .cube-editor input{width:100%} +.cube-editor .cube-editor-table th:nth-child(1){width:120px} +.cube-editor .cube-editor-table th:nth-child(2){width:auto} +.cube-editor .cube-editor-table th:nth-child(3){width:140px} +.cube-editor .cube-editor-table th:nth-child(4){width:200px} +.cube-editor .cube-editor-table td:nth-child(3){white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .cube-actions{display:flex;gap:5px;white-space:nowrap} .cube-actions button{border:1px solid var(--line);background:#fff;border-radius:4px;height:26px;padding:0 9px;font-size:11px;color:#444} .cube-actions button:hover{border-color:var(--blue);color:var(--blue)} diff --git a/app/page.tsx b/app/page.tsx index 81eea3a..a1ef3a6 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -783,7 +783,7 @@ function Functions({site,muTree,onMuChange,onSiteChange,pageStyles,notify,onView {/* Cube 扩展页面:左右两栏,右栏为填写建议 + AI 智能补全 */} {tab==="cube"&&
-
{site.cubes.map((cube,i)=> +
页面名称 最多6字页面内容生成文件操作
{site.cubes.map((cube,i)=>
页面名称 最多6字页面内容生成文件操作
updateCube(i,{name:e.target.value})}/> updateCube(i,{content:e.target.value})}/> {cube.status==="generated"? : 未生成}