fix(ui): 窄屏只保留旧文件面板;修正设置图标偏上

- 窄屏(<960px)隐藏左栏的「文件树」图标:手机上只保留输入行右侧的旧「任务文件」面板,
  不做两套文件 UI;setDrawerPane 增加窄屏防线,跨断点缩小时自动退回会话列表
- 设置齿轮换成正中且四周留白的图标:原路径外接框垂直中心在 10.5(画布中心 12),
  整枚图标偏上,20px 下看起来像顶部被切掉
This commit is contained in:
2026-11-11 15:42:19 +08:00
parent 4e97194b04
commit d06cd6cedf
3 changed files with 11 additions and 6 deletions
+3 -3
View File
@@ -872,9 +872,9 @@ body.voice-active .scroll-bottom-btn { display: none; }
width: 20px; height: 20px; fill: none; stroke: currentColor;
stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
/* 窄屏没有右侧预览分栏(预览改走全屏 #fs-viewer),所以只藏这一个钮;
文件树只是抽屉里的一个面板,任何宽度都能用,不藏。 */
@media (max-width: 959px) { #da-preview { display: none !important; } }
/* 窄屏:没有右侧预览分栏(预览走全屏 #fs-viewer);文件浏览只保留输入行右侧的
旧「任务文件」面板,左栏不再出现文件树(不做两套文件 UI)。所以这两个钮都隐藏。 */
@media (max-width: 959px) { #da-preview, #da-files { display: none !important; } }
.files-tree { display: none; flex: 1; min-height: 0; flex-direction: column; }
#drawer.drawer-mode-files .drawer-search,