update:部分样式优化
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import Editor from "@monaco-editor/react";
|
||||
import { displayScriptPath } from "./scriptPath";
|
||||
import { Info, Loader2Icon } from "lucide-react";
|
||||
|
||||
import type { ScriptItem } from "../../services/api";
|
||||
@@ -114,7 +115,7 @@ export function PythonEditor({
|
||||
<i className="size-1.5 rounded-full bg-[#20b77d]" />
|
||||
Workspace Python Editor
|
||||
</span>
|
||||
<span>{script.relative_path}</span>
|
||||
<span>{displayScriptPath(script.relative_path)}</span>
|
||||
</div>
|
||||
<div className="relative min-h-0 flex-1 overflow-hidden">
|
||||
<Editor
|
||||
|
||||
Reference in New Issue
Block a user