From dab1d8ee8a23f83e70d1362e139fe87b55157568 Mon Sep 17 00:00:00 2001 From: codetypes Date: Sat, 3 Aug 2024 11:37:33 +0800 Subject: [PATCH] update search popup size --- src/components/titlebar.tsx | 6 ++---- src/misc/b3type.ts | 2 -- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/titlebar.tsx b/src/components/titlebar.tsx index 7a82251..4797740 100644 --- a/src/components/titlebar.tsx +++ b/src/components/titlebar.tsx @@ -53,9 +53,7 @@ export const TitleBar: FC = () => {
{value} - - {value} {desc} - + {desc}
), value: `${value.toLocaleLowerCase()} ${desc.toLocaleLowerCase()}`, @@ -116,7 +114,7 @@ export const TitleBar: FC = () => { }} suffixIcon={} className="b3-search b3-no-drag-region" - style={{ width: "400px", top: "5px", position: "absolute", zIndex: 999 }} + style={{ width: "500px", top: "5px", position: "absolute", zIndex: 999 }} placeholder="" optionFilterProp="value" onBlur={() => workspace.onShowingSearch(false)} diff --git a/src/misc/b3type.ts b/src/misc/b3type.ts index 4d6b09d..72f9be3 100644 --- a/src/misc/b3type.ts +++ b/src/misc/b3type.ts @@ -30,8 +30,6 @@ export interface NodeArg { options?: NodeArgOption[]; } -type Status = "success" | "running" | "failure"; - export interface NodeDef { name: string; type: NodeType;