fix(app): copy path button styles
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user