Skip to content

Commit

Permalink
update search popup size
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongfq committed Aug 3, 2024
1 parent e8084e3 commit dab1d8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions src/components/titlebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()}`,
Expand Down Expand Up @@ -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)}
Expand Down
2 changes: 0 additions & 2 deletions src/misc/b3type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ export interface NodeArg {
options?: NodeArgOption[];
}

type Status = "success" | "running" | "failure";

export interface NodeDef {
name: string;
type: NodeType;
Expand Down

0 comments on commit dab1d8e

Please sign in to comment.