update search popup size

This commit is contained in:
codetypes committed 2024-08-03 11:37:33 +08:00
1 parent e8084e3bb4
commit dab1d8ee8a
2 files changed
+2 -6

No files matched your search

+2 -4
View File
@@ -53,9 +53,7 @@ export const TitleBar: FC<LayoutProps> = () => {
<div>
{value}
<span> </span>
<span style={{ color: "gray", fontSize: "12px" }}>
{value} {desc}
</span>
<span style={{ color: "gray", fontSize: "12px" }}>{desc}</span>
</div>
),
value: `${value.toLocaleLowerCase()} ${desc.toLocaleLowerCase()}`,
@@ -116,7 +114,7 @@ export const TitleBar: FC<LayoutProps> = () => {
}}
suffixIcon={<SearchOutlined />}
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)}
-2
View File
@@ -30,8 +30,6 @@ export interface NodeArg {
options?: NodeArgOption[];
}
type Status = "success" | "running" | "failure";
export interface NodeDef {
name: string;
type: NodeType;