From 4aab89f4dd0e42a6b782d39a580dd913cd0533fb Mon Sep 17 00:00:00 2001 From: ymq Date: Sat, 15 Aug 2026 17:16:03 +0800 Subject: [PATCH] fix(workspace_files): file name halign left --- wwwroot/api/workspace_files.dspy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/api/workspace_files.dspy b/wwwroot/api/workspace_files.dspy index 5acfa98..0289d14 100644 --- a/wwwroot/api/workspace_files.dspy +++ b/wwwroot/api/workspace_files.dspy @@ -88,7 +88,7 @@ for name in entries: "options": {"padding": "6px 10px", "alignItems": "center", "gap": "8px", "cursor": "pointer"}, "subwidgets": [ {"widgettype": "Text", "options": {"text": icon, "cfontsize": 1.2}}, - {"widgettype": "Text", "options": {"text": name, "cfontsize": 0.9, "color": "#1e293b", "css": "filler"}}, + {"widgettype": "Text", "options": {"text": name, "cfontsize": 0.9, "color": "#1e293b", "halign": "left", "css": "filler"}}, {"widgettype": "Text", "options": {"text": f"{size/1024:.1f}KB", "cfontsize": 0.75, "color": "#94a3b8"}}, ], "binds": [{"wid": "self", "event": "click", "actiontype": "script", "target": "self", "script": select_script}]