From 327d3f39a4ac310166766048fada79f2ed150ec9 Mon Sep 17 00:00:00 2001 From: ymq Date: Sat, 15 Aug 2026 11:53:28 +0800 Subject: [PATCH] fix(workspace_files): file list top-align and scrollable (drop filler/height) --- wwwroot/api/workspace_files.dspy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wwwroot/api/workspace_files.dspy b/wwwroot/api/workspace_files.dspy index fe20bb9..66b7ae2 100644 --- a/wwwroot/api/workspace_files.dspy +++ b/wwwroot/api/workspace_files.dspy @@ -48,7 +48,7 @@ widgets = [] # 拖拽上传区 widgets.append({ "widgettype": "Droppable", - "options": {"accepts": ["*"], "padding": "10px", "css": "filler"}, + "options": {"accepts": ["*"], "padding": "10px"}, "subwidgets": [ {"widgettype": "Text", "options": {"text": "📥 拖拽文件到此处上传", "cfontsize": 0.85, "color": "#64748b", "halign": "middle"}} ], @@ -104,6 +104,6 @@ else: return { "widgettype": "VBox", - "options": {"css": "filler", "padding": "8px", "gap": "6px", "height": "100%"}, + "options": {"width": "100%", "padding": "8px", "gap": "6px"}, "subwidgets": widgets }