Skip to content

Commit 3256886

Browse files
committed
tui: make the title bar search easier to scan without a redundant icon
1 parent d2194f6 commit 3256886

1 file changed

Lines changed: 2 additions & 3 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(),

0 commit comments

Comments
 (0)