Skip to content

Commit bfd4787

Browse files
committed
tui: clean up search button in session header by removing magnifying glass icon and excess padding
1 parent 58dce01 commit bfd4787

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

packages/app/src/components/session/session-header.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,12 +274,11 @@ export function SessionHeader() {
274274
type="button"
275275
variant="ghost"
276276
size="small"
277-
class="hidden md:flex w-[240px] max-w-full min-w-0 pl-0.5 pr-2 items-center gap-2 justify-between rounded-md border border-border-weak-base bg-surface-panel shadow-none cursor-default"
277+
class="hidden md:flex w-[240px] max-w-full min-w-0 items-center gap-2 justify-between rounded-md border border-border-weak-base bg-surface-panel shadow-none cursor-default"
278278
onClick={() => command.trigger("file.open")}
279279
aria-label={language.t("session.header.searchFiles")}
280280
>
281-
<div class="flex min-w-0 flex-1 items-center gap-1.5 overflow-visible">
282-
<Icon name="magnifying-glass" size="small" class="icon-base shrink-0 size-4" />
281+
<div class="flex min-w-0 flex-1 items-center overflow-visible">
283282
<span class="flex-1 min-w-0 text-12-regular text-text-weak truncate text-left">
284283
{language.t("session.header.search.placeholder", {
285284
project: name(),

packages/opencode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"@ai-sdk/xai": "2.0.51",
8181
"@aws-sdk/credential-providers": "3.993.0",
8282
"@clack/prompts": "1.0.0-alpha.1",
83+
"@effect/platform-node": "4.0.0-beta.31",
8384
"@gitlab/gitlab-ai-provider": "3.6.0",
8485
"@gitlab/opencode-gitlab-auth": "1.3.3",
8586
"@hono/standard-validator": "0.1.5",
@@ -95,7 +96,6 @@
9596
"@openrouter/ai-sdk-provider": "1.5.4",
9697
"@opentui/core": "0.1.87",
9798
"@opentui/solid": "0.1.87",
98-
"@effect/platform-node": "4.0.0-beta.31",
9999
"@parcel/watcher": "2.5.1",
100100
"@pierre/diffs": "catalog:",
101101
"@solid-primitives/event-bus": "1.1.2",

0 commit comments

Comments
 (0)