update: style
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { type FormEvent } from "react";
|
||||
import { Folder } from "lucide-react";
|
||||
import { Folder, Loader2Icon } from "lucide-react";
|
||||
import {
|
||||
AppFormDialog,
|
||||
dialogPrimaryButtonClass,
|
||||
@@ -57,7 +57,7 @@ export function CreateFolderModal({
|
||||
onChange={(event) => onNameChange(event.target.value)}
|
||||
/>
|
||||
</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"
|
||||
@@ -75,7 +75,7 @@ export function CreateFolderModal({
|
||||
className={dialogPrimaryButtonClass}
|
||||
>
|
||||
{busy
|
||||
? <span className="button-spinner" />
|
||||
? <Loader2Icon className="size-4 animate-spin" />
|
||||
: <Folder size={16} />}
|
||||
{busy ? "正在创建…" : "创建文件夹"}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user