fix(app): copy path button styles

This commit is contained in:
Adam
2026-02-11 06:10:44 -06:00
parent dd1862cc2b
commit c426cb0f14

View File

@@ -343,17 +343,19 @@ export function SessionHeader() {
<Show <Show
when={canOpen()} when={canOpen()}
fallback={ fallback={
<Button <div class="flex h-[24px] box-border items-center rounded-md border border-border-base bg-surface-panel overflow-hidden">
variant="ghost" <Button
class="rounded-sm h-[24px] py-1.5 pr-3 pl-2 gap-2 border-none shadow-none" variant="ghost"
onClick={copyPath} class="rounded-none h-full py-0 pr-3 pl-2 gap-2 border-none shadow-none"
aria-label={language.t("session.header.open.copyPath")} onClick={copyPath}
> aria-label={language.t("session.header.open.copyPath")}
<Icon name="copy" size="small" class="text-icon-base" /> >
<span class="text-12-regular text-text-strong"> <Icon name="copy" size="small" class="text-icon-base" />
{language.t("session.header.open.copyPath")} <span class="text-12-regular text-text-strong">
</span> {language.t("session.header.open.copyPath")}
</Button> </span>
</Button>
</div>
} }
> >
<div class="flex items-center"> <div class="flex items-center">