Skip to content

Commit 98f3ff6

Browse files
committed
tweak(app): refine titlebar search and open padding
Ensure the titlebar search placeholder truncates cleanly and left-aligns; match the fallback copy-path button left padding to the open action.
1 parent ce08442 commit 98f3ff6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ export function SessionHeader() {
327327
>
328328
<div class="flex min-w-0 flex-1 items-center gap-1.5 overflow-visible">
329329
<Icon name="magnifying-glass" size="normal" class="icon-base shrink-0" />
330-
<span class="flex-1 min-w-0 text-12-regular text-text-weak truncate h-4.5 flex items-center">
330+
<span class="flex-1 min-w-0 text-12-regular text-text-weak truncate text-left">
331331
{language.t("session.header.search.placeholder", { project: name() })}
332332
</span>
333333
</div>
@@ -354,7 +354,7 @@ export function SessionHeader() {
354354
<div class="flex h-[24px] box-border items-center rounded-md border border-border-weak-base bg-surface-panel overflow-hidden">
355355
<Button
356356
variant="ghost"
357-
class="rounded-none h-full py-0 pr-3 pl-2 gap-2 border-none shadow-none"
357+
class="rounded-none h-full py-0 pr-3 pl-0.5 gap-2 border-none shadow-none"
358358
onClick={copyPath}
359359
aria-label={language.t("session.header.open.copyPath")}
360360
>

0 commit comments

Comments
 (0)