update: style
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { type FormEvent } from "react";
|
||||
import { ArrowUpFromLine } from "lucide-react";
|
||||
import { ArrowUpFromLine, Loader2Icon } from "lucide-react";
|
||||
import type { ScriptItem, Visibility } from "../../services/api";
|
||||
import { scriptIcon } from "../../features/platform/WorkspaceTree";
|
||||
import {
|
||||
@@ -97,7 +97,7 @@ export function PublishModal({
|
||||
<option value="public">公开</option>
|
||||
</select>
|
||||
</label>
|
||||
<div className="mt-[3px] flex shrink-0 justify-end gap-2 border-t border-[#e8edf2] bg-white -mx-[22px] px-[22px] py-3.5">
|
||||
<div className="mt-[3px] flex shrink-0 justify-end gap-2 border-t border-line bg-white -mx-[22px] px-[22px] py-3.5">
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
@@ -115,7 +115,7 @@ export function PublishModal({
|
||||
className={dialogPrimaryButtonClass}
|
||||
>
|
||||
{publishing
|
||||
? <span className="button-spinner" />
|
||||
? <Loader2Icon className="size-4 animate-spin" />
|
||||
: <ArrowUpFromLine size={16} />}
|
||||
{publishing ? "正在发布…" : "确认发布"}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user