update:部分样式优化
This commit is contained in:
@@ -26,6 +26,7 @@ import {type PythonEditorBuffer, useScriptWorkspaceStore} from "./state/scriptWo
|
||||
import { useAuth } from "../../context/AuthContext";
|
||||
import { getScriptContent } from "../../services/api";
|
||||
import {PythonEditor} from "~/features/platform/PythonEditor";
|
||||
import { displayScriptPath } from "./scriptPath";
|
||||
|
||||
function fileIconTone(type: ScriptType | "data") {
|
||||
if (type === "notebook") return "text-[#e15e50] bg-[#fff0ed]";
|
||||
@@ -761,7 +762,7 @@ export function ScriptWorkspace({
|
||||
{script.script_name}
|
||||
</h2>
|
||||
<p className="m-0 font-mono text-[10px] text-[#8997a6]">
|
||||
{script.relative_path}
|
||||
{displayScriptPath(script.relative_path)}
|
||||
</p>
|
||||
</div>
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user